summaryrefslogtreecommitdiff
path: root/package/libpcap
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/libpcap
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/libpcap')
-rw-r--r--package/libpcap/Makefile7
-rw-r--r--package/libpcap/ipkg/libpcap.control4
2 files changed, 5 insertions, 6 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index d89bf36a5..2e8415ee7 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -9,11 +9,14 @@ PKG_NAME:= libpcap
PKG_VERSION:= 1.0.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 9ad1358c5dec48456405eac197a46d3d
-MASTER_SITES:= http://www.tcpdump.org/release/
+PKG_DESCR:= a low-level packet capture library
+PKG_SECTION:= libs
+PKG_URL:= http://www.tcpdump.org
+PKG_SITES:= http://www.tcpdump.org/release/
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= ac_cv_linux_vers=26
diff --git a/package/libpcap/ipkg/libpcap.control b/package/libpcap/ipkg/libpcap.control
deleted file mode 100644
index a743ea4fc..000000000
--- a/package/libpcap/ipkg/libpcap.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: libpcap
-Priority: optional
-Section: libs
-Description: a low-level packet capture library