2006-10-06 17:38:48 +00:00
|
|
|
#
|
2010-10-05 09:04:38 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-10-06 17:38:48 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=qos-scripts
|
2007-09-07 20:41:57 +00:00
|
|
|
PKG_VERSION:=1.2.1
|
2010-10-05 09:04:38 +00:00
|
|
|
PKG_RELEASE:=3
|
2006-10-06 17:38:48 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/qos-scripts
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Base system
|
2009-12-09 13:36:39 +00:00
|
|
|
DEPENDS:=+tc +kmod-sched +iptables +iptables-mod-filter +iptables-mod-ipopt +iptables-mod-conntrack-extra +iptables-mod-imq
|
2006-10-06 17:38:48 +00:00
|
|
|
TITLE:=QoS scripts
|
2009-07-24 12:08:01 +00:00
|
|
|
PKGARCH:=all
|
2007-09-07 08:34:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/qos-scripts/description
|
|
|
|
A set of scripts that abstract QoS configuration into a simple
|
|
|
|
configuration file supporting stanzas that specify any number of QoS
|
|
|
|
entries.
|
2006-10-06 17:38:48 +00:00
|
|
|
endef
|
|
|
|
|
2010-10-05 09:04:38 +00:00
|
|
|
define Package/qos-scripts/conffiles
|
|
|
|
/etc/config/qos
|
|
|
|
endef
|
|
|
|
|
2006-10-06 17:38:48 +00:00
|
|
|
define Build/Prepare
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/qos-scripts/install
|
2007-01-08 00:53:24 +00:00
|
|
|
$(INSTALL_DIR) $(1)
|
2006-10-06 17:38:48 +00:00
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,qos-scripts))
|