summaryrefslogtreecommitdiff
path: root/package/wondershaper/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/wondershaper/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/wondershaper/Makefile')
-rw-r--r--package/wondershaper/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/wondershaper/Makefile b/package/wondershaper/Makefile
index 12fd46ea5..fe0479e81 100644
--- a/package/wondershaper/Makefile
+++ b/package/wondershaper/Makefile
@@ -9,18 +9,18 @@ PKG_NAME:= wondershaper
PKG_VERSION:= 1.1a
PKG_RELEASE:= 7
PKG_MD5SUM:= bbc5a3a4485ab286e337ce8550e7b990
-MASTER_SITES:= http://lartc.org/wondershaper/
+PKG_DESCR:= WonderShaper is a tc based traffic shaping tool.
+PKG_SECTION:= net
+PKG_URL:= http://lartc.org/wondershaper
+PKG_SITES:= http://lartc.org/wondershaper/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,WONDERSHAPER,wondershaper,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,WONDERSHAPER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
do-install:
- ${INSTALL_DIR} ${IDIR_WONDERSHAPER}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_WONDERSHAPER}/etc/init.d/
+ ${INSTALL_DIR} ${IDIR_WONDERSHAPER}/usr/sbin ${IDIR_WONDERSHAPER}/etc
${INSTALL_BIN} ${WRKBUILD}/wshaper.htb ${IDIR_WONDERSHAPER}/usr/sbin/wshaper
${INSTALL_DATA} ${WRKBUILD}/wshaper.conf ${IDIR_WONDERSHAPER}/etc/
- $(INSTALL_BIN) ./files/wondershaper.init \
- $(IDIR_WONDERSHAPER)/etc/init.d/wondershaper
include ${TOPDIR}/mk/pkg-bottom.mk