more debug options for mac80211
[openadk.git] / package / ipcad / Makefile
blob342822d26409ed87a7f08355dda5a68bc55cf3cf
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
6 PKG_NAME:= ipcad
7 PKG_VERSION:= 3.7.3
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= 125605249958894148ec26d3c88189f5
10 PKG_DESCR:= IP Cisco Accounting Daemon
11 PKG_SECTION:= net
12 PKG_DEPENDS:= libpcap
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 \
22 --with-psrc=pcap \
23 --with-pcap-include="${STAGING_DIR}/usr/include" \
24 --with-pcap-libraries="${STAGING_DIR}/usr/lib"
26 pre-build:
27 touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c
29 post-install:
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