From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/bwm/Makefile | 7 +++++-- package/bwm/ipkg/bwm.control | 4 ---- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 package/bwm/ipkg/bwm.control (limited to 'package/bwm') 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 -- cgit v1.2.3