summaryrefslogtreecommitdiff
path: root/package/bwm
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/bwm
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/bwm')
-rw-r--r--package/bwm/Makefile7
-rw-r--r--package/bwm/ipkg/bwm.control4
2 files changed, 5 insertions, 6 deletions
diff --git a/package/bwm/Makefile b/package/bwm/Makefile
index ebd8de30d..3a8972649 100644
--- a/package/bwm/Makefile
+++ b/package/bwm/Makefile
@@ -9,13 +9,16 @@ PKG_NAME:= bwm
PKG_VERSION:= 1.1.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 51021a036acb92d2bda0c0c0483f9552
+PKG_DESCR:= A very tiny bandwidth monitor
+PKG_SECTION:= net
+PKG_SITES:= http://ftp.debian.org/debian/pool/main/b/bwm/
+
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
-MASTER_SITES:= http://ftp.debian.org/debian/pool/main/b/bwm/
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}.orig
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,BWM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,BWM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
do-build:
${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/bwm.c -o ${WRKBUILD}/bwm
diff --git a/package/bwm/ipkg/bwm.control b/package/bwm/ipkg/bwm.control
deleted file mode 100644
index 4851a2deb..000000000
--- a/package/bwm/ipkg/bwm.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: bwm
-Priority: optional
-Section: net
-Description: A very tiny bandwidth monitor