diff options
author | Waldemar Brodkorb <wbx@openwrt.org> | 2005-09-11 11:10:40 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openwrt.org> | 2005-09-11 11:10:40 +0000 |
commit | 1291733955d86a7ebaf46f0f465914f21a76e085 (patch) | |
tree | e6f4c4053e99f9488669b582a91f130dadd6d24f /package/wondershaper/Makefile | |
parent | 759a262a0e1a5ab3e34fa3718658963eccb5fdc4 (diff) | |
download | master-187ad058-1291733955d86a7ebaf46f0f465914f21a76e085.tar.gz master-187ad058-1291733955d86a7ebaf46f0f465914f21a76e085.tar.bz2 master-187ad058-1291733955d86a7ebaf46f0f465914f21a76e085.zip |
add wondershaper package from leh. thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1899 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wondershaper/Makefile')
-rw-r--r-- | package/wondershaper/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/wondershaper/Makefile b/package/wondershaper/Makefile new file mode 100644 index 0000000000..b4cea59777 --- /dev/null +++ b/package/wondershaper/Makefile @@ -0,0 +1,35 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=wondershaper +PKG_VERSION:=1.1a +PKG_RELEASE:=1 +PKG_MD5SUM:=bbc5a3a4485ab286e337ce8550e7b990 + +PKG_SOURCE_URL:=http://lartc.org/wondershaper/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,WONDERSHAPER,wondershaper,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + mkdir -p $(PKG_INSTALL_DIR) + touch $@ + +$(IPKG_WONDERSHAPER): + install -d -m0755 $(IDIR_WONDERSHAPER)/usr/sbin + install -d -m0755 $(IDIR_WONDERSHAPER)/etc/init.d + cp -fpR $(PKG_BUILD_DIR)/wshaper.htb $(IDIR_WONDERSHAPER)/usr/sbin/wshaper + cp -fpR $(PKG_BUILD_DIR)/wshaper.conf $(IDIR_WONDERSHAPER)/etc/wshaper.conf + ln -s /usr/sbin/wshaper $(IDIR_WONDERSHAPER)/etc/init.d/S60wondershaper + $(IPKG_BUILD) $(IDIR_WONDERSHAPER) $(PACKAGE_DIR) + |