f23a0adacd1ccb221d3bc0200d9362a9659dda5c
[feed/packages.git] / net / sqm-scripts / Makefile
1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sqm-scripts
11 PKG_SOURCE_VERSION:=5d7e7977e14e147d5bcfa8a5f01636c7ab230fa4
12 PKG_VERSION:=1.5.1
13 PKG_RELEASE:=$(AUTORELEASE)
14
15 PKG_SOURCE_PROTO:=git
16 PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts
17 PKG_MIRROR_HASH:=dad79a899da9e9389d8bdedb0c7b48235dd55f834edf6ed4b4e38c13eff46c19
18
19 PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
20 PKG_LICENSE:=GPL-2.0-only
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/sqm-scripts
25 SECTION:=net
26 CATEGORY:=Base system
27 DEPENDS:=+tc +kmod-sched-cake +kmod-ifb +iptables \
28 +iptables-mod-ipopt +iptables-mod-conntrack-extra
29 TITLE:=SQM Scripts (QoS)
30 PKGARCH:=all
31 endef
32
33 define Package/sqm-scripts/description
34 A set of scripts that does simple SQM configuration.
35 endef
36
37 define Package/sqm-scripts/conffiles
38 /etc/config/sqm
39 /etc/sqm/sqm.conf
40 endef
41
42 define Package/sqm-scripts/install
43 make -C $(PKG_BUILD_DIR) DESTDIR=$(1) PLATFORM=openwrt install
44 endef
45
46 $(eval $(call BuildPackage,sqm-scripts))