source: packages/net/wshaper/Makefile @ 29199

Last change on this file since 29199 was 29199, checked in by nico, 4 years ago

packages: add missing conffiles define

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
12PKG_RELEASE:=2
13
14PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/wshaper
19  SECTION:=net
20  CATEGORY:=Network
21  DEPENDS:=+kmod-sched +tc
22  TITLE:=wshaper
23  URL:=http://lartc.org/wondershaper/
24  PKGARCH:=all
25endef
26
27define Package/wshaper/description
28 A script to do traffing shaping with the HTB algorithm.
29 Wshaper attempts to:
30 * Maintain low latency for interfactive traffic at all times 
31 * Allow 'surfing' at reasonable speeds while up or downloading
32 * Make sure uploads don't harm downloads, and the other way around
33endef
34
35define Build/Prepare
36endef
37
38define Build/Configure
39endef
40
41define Build/Compile
42endef
43
44define Package/wshaper/install
45        $(INSTALL_DIR) $(1)/usr/sbin/ $(1)/etc/init.d $(1)/etc/config
46        $(INSTALL_BIN) ./files/wshaper.htb $(1)/usr/sbin/
47        $(INSTALL_BIN) ./files/wshaper.init $(1)/etc/init.d/wshaper
48        $(INSTALL_DATA) ./files/wshaper.config $(1)/etc/config/wshaper
49endef
50
51define Package/wshaper/conffiles
52/etc/config/wshaper
53endef
54
55$(eval $(call BuildPackage,wshaper))
Note: See TracBrowser for help on using the repository browser.