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 ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 72372d46ae35e4d7cc74d96fbaf8bb0ae189aa9ecfd89026487aca790c2f0716
10 PKG_DESCR
:= ip cisco accounting daemon
11 PKG_SECTION
:= net
/acct
13 PKG_BUILDDEP
:= libpcap
14 PKG_URL
:= http
://lionet.
info/ipcad
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=ipcad
/}
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call PKG_template
,IPCAD
,ipcad
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIGURE_ARGS
+= --with-ifst
=linux \
25 --with-pcap-include
="${STAGING_TARGET_DIR}/usr/include" \
26 --with-pcap-libraries
="${STAGING_TARGET_DIR}/usr/lib"
29 touch
$(WRKBUILD
)/cfglex.c
$(WRKBUILD
)/cslex.c
32 ${INSTALL_DIR} ${IDIR_IPCAD}/usr
/bin
${IDIR_IPCAD}/etc
33 ${INSTALL_DATA} ${WRKINST}/etc
/ipcad.conf
${IDIR_IPCAD}/etc
/
34 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/ipcad
${IDIR_IPCAD}/usr
/bin
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk