summaryrefslogtreecommitdiff
path: root/package/ipcad/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/ipcad/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/ipcad/Makefile')
-rw-r--r--package/ipcad/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/ipcad/Makefile b/package/ipcad/Makefile
index ca240ddd0..7074ef874 100644
--- a/package/ipcad/Makefile
+++ b/package/ipcad/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= ipcad
PKG_VERSION:= 3.7.3
PKG_RELEASE:= 1
PKG_MD5SUM:= 125605249958894148ec26d3c88189f5
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
+PKG_DESCR:= IP Cisco Accounting Daemon
+PKG_SECTION:= net
+PKG_DEPENDS:= libpcap
+PKG_URL:= http://lionet.info/ipcad
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-ifst=linux \
@@ -27,8 +31,7 @@ pre-build:
touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c
post-install:
- ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin
- ${INSTALL_DIR} ${IDIR_IPCAD}/etc
+ ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin ${IDIR_IPCAD}/etc
${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/
${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/