691d2633de7baf5e7bd680a318e0b880ca506d2e
[openwrt/svn-archive/archive.git] / net / wshaper / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=wshaper
12 PKG_VERSION:=0.1
13
14 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/wshaper
19 SECTION:=net
20 CATEGORY:=Network
21 DEPENDS:=+kmod-sched +tc
22 TITLE:=wshaper
23 URL:=http://lartc.org/wondershaper/
24 endef
25
26 define 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
32 endef
33
34 define Build/Prepare
35 endef
36
37 define Build/Configure
38 endef
39
40 define Build/Compile
41 endef
42
43 define Package/wshaper/install
44 $(INSTALL_DIR) $(1)/usr/sbin/
45 $(INSTALL_BIN) ./files/wshaper.htb $(1)/usr/sbin/
46 endef
47
48 $(eval $(call BuildPackage,wshaper))