You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=sqm-scripts
  9. PKG_SOURCE_VERSION:=5d7e7977e14e147d5bcfa8a5f01636c7ab230fa4
  10. PKG_VERSION:=1.5.1
  11. PKG_RELEASE:=$(AUTORELEASE)
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts
  14. PKG_MIRROR_HASH:=dad79a899da9e9389d8bdedb0c7b48235dd55f834edf6ed4b4e38c13eff46c19
  15. PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
  16. PKG_LICENSE:=GPL-2.0-only
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/sqm-scripts
  19. SECTION:=net
  20. CATEGORY:=Base system
  21. DEPENDS:=+tc +kmod-sched-cake +kmod-ifb +iptables-nft +iptables-mod-ipopt
  22. TITLE:=SQM Scripts (QoS)
  23. PKGARCH:=all
  24. endef
  25. define Package/sqm-scripts/description
  26. A set of scripts that does simple SQM configuration.
  27. endef
  28. define Package/sqm-scripts/conffiles
  29. /etc/config/sqm
  30. /etc/sqm/sqm.conf
  31. endef
  32. define Package/sqm-scripts/install
  33. make -C $(PKG_BUILD_DIR) DESTDIR=$(1) PLATFORM=openwrt install
  34. endef
  35. $(eval $(call BuildPackage,sqm-scripts))