freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= wondershaper
|
|---|
| 10 | PKG_VERSION:= 1.1a
|
|---|
| 11 | PKG_RELEASE:= 2
|
|---|
| 12 | PKG_MD5SUM:= bbc5a3a4485ab286e337ce8550e7b990
|
|---|
| 13 | PKG_INIT:= 80
|
|---|
| 14 | PKG_SOURCE_URL:= http://lartc.org/wondershaper/
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,WONDERSHAPER,wondershaper,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | touch $@
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.built:
|
|---|
| 25 | mkdir -p $(WRKINST)
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(IPKG_WONDERSHAPER):
|
|---|
| 29 | install -d -m0755 $(IDIR_WONDERSHAPER)/usr/sbin
|
|---|
| 30 | install -d -m0755 $(IDIR_WONDERSHAPER)/etc/init.d
|
|---|
| 31 | $(CP) $(WRKBUILD)/wshaper.htb $(IDIR_WONDERSHAPER)/usr/sbin/wshaper
|
|---|
| 32 | $(CP) $(WRKBUILD)/wshaper.conf $(IDIR_WONDERSHAPER)/etc/wshaper.conf
|
|---|
| 33 | $(INSTALL_BIN) ./files/wondershaper.init \
|
|---|
| 34 | $(IDIR_WONDERSHAPER)/etc/init.d/S$(PKG_INIT)wondershaper
|
|---|
| 35 | $(IPKG_BUILD) $(IDIR_WONDERSHAPER) $(PACKAGE_DIR)
|
|---|
| 36 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.