2020-02-06 20:34:57 +00:00
|
|
|
#
|
2014-10-15 15:56:37 +00:00
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sqm-scripts
|
2022-08-24 14:11:53 +00:00
|
|
|
PKG_SOURCE_VERSION:=7ce734ea191240c85c86b83cbf18701655b0359c
|
|
|
|
PKG_VERSION:=1.5.2
|
2021-12-17 09:20:29 +00:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2014-10-15 15:56:37 +00:00
|
|
|
|
2015-08-06 09:40:54 +00:00
|
|
|
PKG_SOURCE_PROTO:=git
|
2020-02-06 20:34:57 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts
|
2022-08-24 14:11:53 +00:00
|
|
|
PKG_MIRROR_HASH:=62d9a655cd6a89665a7bc8473a771fd8203933989d2276f3d34ccbf6be21661f
|
2020-02-06 20:34:57 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
2014-10-15 15:56:37 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/sqm-scripts
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Base system
|
2022-03-01 01:26:27 +00:00
|
|
|
DEPENDS:=+tc +kmod-sched-cake +kmod-ifb +iptables +iptables-mod-ipopt
|
2014-10-15 15:56:37 +00:00
|
|
|
TITLE:=SQM Scripts (QoS)
|
|
|
|
PKGARCH:=all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sqm-scripts/description
|
|
|
|
A set of scripts that does simple SQM configuration.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sqm-scripts/conffiles
|
|
|
|
/etc/config/sqm
|
2015-08-06 09:40:54 +00:00
|
|
|
/etc/sqm/sqm.conf
|
2014-10-15 15:56:37 +00:00
|
|
|
endef
|
|
|
|
|
2015-08-06 09:40:54 +00:00
|
|
|
define Package/sqm-scripts/install
|
|
|
|
make -C $(PKG_BUILD_DIR) DESTDIR=$(1) PLATFORM=openwrt install
|
2014-10-15 15:56:37 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,sqm-scripts))
|