python3: update to 3.11.10
[openadk.git] / package / ipcad / Makefile
blobde9a4c551e429088371207d226fbdba394d546e7
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
6 PKG_NAME:= ipcad
7 PKG_VERSION:= 3.7.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 72372d46ae35e4d7cc74d96fbaf8bb0ae189aa9ecfd89026487aca790c2f0716
10 PKG_DESCR:= ip cisco accounting daemon
11 PKG_SECTION:= net/acct
12 PKG_DEPENDS:= libpcap
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 \
24 --with-psrc=pcap \
25 --with-pcap-include="${STAGING_TARGET_DIR}/usr/include" \
26 --with-pcap-libraries="${STAGING_TARGET_DIR}/usr/lib"
28 pre-build:
29 touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c
31 ipcad-install:
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