2015-10-15 22:12:13 +00:00
|
|
|
#
|
2015-01-06 12:42:38 +00:00
|
|
|
# Copyright (C) 2006-2015 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
|
2018-06-08 11:34:00 +00:00
|
|
|
PKG_VERSION:=1.3.1
|
2016-01-22 13:06:09 +00:00
|
|
|
PKG_RELEASE:=1
|
2017-06-07 09:01:06 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
2006-10-06 17:38:48 +00:00
|
|
|
|
2016-06-07 06:58:31 +00:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2012-10-10 12:49:37 +00:00
|
|
|
|
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
|
2015-04-17 18:52:28 +00:00
|
|
|
DEPENDS:=+tc +kmod-sched-core +kmod-sched-connmark +kmod-ifb +iptables +iptables-mod-ipopt +iptables-mod-conntrack-extra
|
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))
|