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:= 2
  7. PKG_MD5SUM:= 125605249958894148ec26d3c88189f5
  8. PKG_DESCR:= IP Cisco Accounting Daemon
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpcap
  11. PKG_BUILDDEP:= libpcap
  12. PKG_URL:= http://lionet.info/ipcad
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IPCAD,ipcad,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --with-ifst=linux \
  18. --with-psrc=pcap \
  19. --with-pcap-include="${STAGING_TARGET_DIR}/usr/include" \
  20. --with-pcap-libraries="${STAGING_TARGET_DIR}/usr/lib"
  21. pre-build:
  22. touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c
  23. ipcad-install:
  24. ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin ${IDIR_IPCAD}/etc
  25. ${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk