2006-10-06 20:38:48 +03:00
|
|
|
#
|
2011-01-20 19:33:41 +02:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-10-06 20:38:48 +03: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 23:41:57 +03:00
|
|
|
PKG_VERSION:=1.2.1
|
2011-11-03 21:11:01 +02:00
|
|
|
PKG_RELEASE:=6
|
2006-10-06 20:38:48 +03:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/qos-scripts
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Base system
|
2012-05-16 18:23:23 +03:00
|
|
|
DEPENDS:=+tc +kmod-sched-core +kmod-ifb +iptables +iptables-mod-filter +iptables-mod-ipopt +iptables-mod-conntrack-extra
|
2006-10-06 20:38:48 +03:00
|
|
|
TITLE:=QoS scripts
|
2009-07-24 15:08:01 +03:00
|
|
|
PKGARCH:=all
|
2007-09-07 11:34:51 +03: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 20:38:48 +03:00
|
|
|
endef
|
|
|
|
|
2010-10-05 12:04:38 +03:00
|
|
|
define Package/qos-scripts/conffiles
|
|
|
|
/etc/config/qos
|
|
|
|
endef
|
|
|
|
|
2006-10-06 20:38:48 +03:00
|
|
|
define Build/Prepare
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/qos-scripts/install
|
2007-01-08 02:53:24 +02:00
|
|
|
$(INSTALL_DIR) $(1)
|
2006-10-06 20:38:48 +03:00
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,qos-scripts))
|