[backfire] merge r23227 and r23238
[openwrt-10.03/.git] / package / qos-scripts / Makefile
1
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=qos-scripts
11 PKG_VERSION:=1.2.1
12 PKG_RELEASE:=3
13
14 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/qos-scripts
19   SECTION:=utils
20   CATEGORY:=Base system
21   DEPENDS:=+tc +kmod-sched +iptables +iptables-mod-filter +iptables-mod-ipopt +iptables-mod-conntrack-extra +iptables-mod-imq
22   TITLE:=QoS scripts
23   PKGARCH:=all
24 endef
25
26 define Package/qos-scripts/description
27  A set of scripts that abstract QoS configuration into a simple 
28  configuration file supporting stanzas that specify any number of QoS 
29  entries.
30 endef
31
32 define Package/qos-scripts/conffiles
33 /etc/config/qos
34 endef
35
36 define Build/Prepare
37 endef
38
39 define Build/Configure
40 endef
41
42 define Build/Compile
43 endef
44
45 define Package/qos-scripts/install
46         $(INSTALL_DIR) $(1)
47         $(CP) ./files/* $(1)/
48 endef
49
50 $(eval $(call BuildPackage,qos-scripts))