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/wondershaper/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'package/wondershaper/Makefile') 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 -- cgit v1.2.3