packages/net/wshaper/Makefile
matteo 845353f7b7 added the wshaper script
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-08 13:15:24 +00:00

49 lines
1010 B
Makefile

#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
include $(TOPDIR)/rules.mk
PKG_NAME:=wshaper
PKG_VERSION:=0.1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/wshaper
SECTION:=net
CATEGORY:=Network
DEPENDS:=+kmod-sched +tc
TITLE:=wshaper
URL:=http://lartc.org/wondershaper/
endef
define Package/wshaper/description
A script to do traffing shaping with the HTB algorithm.
Wshaper attempts to:
* Maintain low latency for interfactive traffic at all times
* Allow 'surfing' at reasonable speeds while up or downloading
* Make sure uploads don't harm downloads, and the other way around
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/wshaper/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) ./files/wshaper.htb $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wshaper))