1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${TOPDIR}/rules.mk
9 PKG_MD5SUM
:= 125605249958894148ec26d3c88189f5
10 PKG_DESCR
:= IP Cisco Accounting Daemon
13 PKG_BUILDDEP
+= libpcap
14 PKG_URL
:= http
://lionet.
info/ipcad
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=ipcad
/}
17 include ${TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,IPCAD
,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIGURE_ARGS
+= --with-ifst
=linux \
23 --with-pcap-include
="${STAGING_DIR}/usr/include" \
24 --with-pcap-libraries
="${STAGING_DIR}/usr/lib"
27 touch
$(WRKBUILD
)/cfglex.c
$(WRKBUILD
)/cslex.c
30 ${INSTALL_DIR} ${IDIR_IPCAD}/usr
/bin
${IDIR_IPCAD}/etc
31 ${INSTALL_DATA} ${WRKINST}/etc
/ipcad.conf
${IDIR_IPCAD}/etc
/
32 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/ipcad
${IDIR_IPCAD}/usr
/bin
/
34 include ${TOPDIR}/mk
/pkg-bottom.mk