Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= ipcad
  5. PKG_VERSION:= 3.7.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 125605249958894148ec26d3c88189f5
  8. PKG_DESCR:= IP Cisco Accounting Daemon
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpcap
  11. PKG_URL:= http://lionet.info/ipcad
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS+= --with-ifst=linux \
  17. --with-psrc=pcap \
  18. --with-pcap-include="${STAGING_DIR}/usr/include" \
  19. --with-pcap-libraries="${STAGING_DIR}/usr/lib"
  20. BUILD_STYLE= auto
  21. INSTALL_STYLE= auto
  22. pre-build:
  23. touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin ${IDIR_IPCAD}/etc
  26. ${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk