blob: 774ce4d94a4ff276fd1b181b5617a5f2c8337b26 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2006-2015 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=qos-scripts
11PKG_VERSION:=1.3.1
12PKG_RELEASE:=33
13PKG_LICENSE:=GPL-2.0
14
15PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
16
17PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/qos-scripts
22 SECTION:=utils
23 CATEGORY:=Base system
24 DEPENDS:=+tc +kmod-sched-core +kmod-sched-connmark +kmod-ifb +iptables +iptables-mod-ipopt +iptables-mod-conntrack-extra
25 TITLE:=QoS scripts
26 PKGARCH:=all
27endef
28
29define Package/qos-scripts/description
30 A set of scripts that abstract QoS configuration into a simple
31 configuration file supporting stanzas that specify any number of QoS
32 entries.
33endef
34
35define Package/qos-scripts/conffiles
36/etc/config/qos
37endef
38
39define Build/Prepare
40endef
41
42define Build/Configure
43endef
44
45define Build/Compile
46endef
47
48define Package/qos-scripts/install
49 $(INSTALL_DIR) $(1)
50 $(CP) ./files/* $(1)/
51endef
52
53$(eval $(call BuildPackage,qos-scripts))