source: branches/packages_10.03.1/net/wshaper/Makefile @ 28461

Last change on this file since 28461 was 28461, checked in by jow, 5 years ago

[backfire/packages] merge r28460

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2007-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=wshaper
11PKG_VERSION:=0.2
12
13PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/wshaper
18  SECTION:=net
19  CATEGORY:=Network
20  DEPENDS:=+kmod-sched +tc
21  TITLE:=wshaper
22  URL:=http://lartc.org/wondershaper/
23  PKGARCH:=all
24endef
25
26define Package/wshaper/description
27 A script to do traffing shaping with the HTB algorithm.
28 Wshaper attempts to:
29 * Maintain low latency for interfactive traffic at all times 
30 * Allow 'surfing' at reasonable speeds while up or downloading
31 * Make sure uploads don't harm downloads, and the other way around
32endef
33
34define Build/Prepare
35endef
36
37define Build/Configure
38endef
39
40define Build/Compile
41endef
42
43define Package/wshaper/install
44        $(INSTALL_DIR) $(1)/usr/sbin/ $(1)/etc/init.d $(1)/etc/config
45        $(INSTALL_BIN) ./files/wshaper.htb $(1)/usr/sbin/
46        $(INSTALL_BIN) ./files/wshaper.init $(1)/etc/init.d/wshaper
47        $(INSTALL_DATA) ./files/wshaper.config $(1)/etc/config/wshaper
48endef
49
50$(eval $(call BuildPackage,wshaper))
Note: See TracBrowser for help on using the repository browser.