2006-10-07 01:38:48 +08:00
|
|
|
#
|
2015-01-06 20:42:38 +08:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2006-10-07 01:38:48 +08: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-08 04:41:57 +08:00
|
|
|
PKG_VERSION:=1.2.1
|
2015-01-06 20:42:38 +08:00
|
|
|
PKG_RELEASE:=7
|
2006-10-07 01:38:48 +08:00
|
|
|
|
2012-10-10 20:49:37 +08:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
|
|
|
|
2006-10-07 01:38:48 +08:00
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/qos-scripts
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Base system
|
2015-04-18 02:52:28 +08:00
|
|
|
DEPENDS:=+tc +kmod-sched-core +kmod-sched-connmark +kmod-ifb +iptables +iptables-mod-ipopt +iptables-mod-conntrack-extra
|
2006-10-07 01:38:48 +08:00
|
|
|
TITLE:=QoS scripts
|
2009-07-24 20:08:01 +08:00
|
|
|
PKGARCH:=all
|
2007-09-07 16:34:51 +08: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-07 01:38:48 +08:00
|
|
|
endef
|
|
|
|
|
2010-10-05 17:04:38 +08:00
|
|
|
define Package/qos-scripts/conffiles
|
|
|
|
/etc/config/qos
|
|
|
|
endef
|
|
|
|
|
2006-10-07 01:38:48 +08:00
|
|
|
define Build/Prepare
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/qos-scripts/install
|
2007-01-08 08:53:24 +08:00
|
|
|
$(INSTALL_DIR) $(1)
|
2006-10-07 01:38:48 +08:00
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,qos-scripts))
|