Makefile 1.1 KB

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