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.

51 lines
997 B

  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_VERSION:=7
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPLv2
  12. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/sqm-scripts
  15. SECTION:=net
  16. CATEGORY:=Base system
  17. DEPENDS:=+tc +kmod-sched +kmod-ifb iptables +ip \
  18. +iptables-mod-filter +iptables-mod-ipopt +iptables-mod-conntrack-extra
  19. TITLE:=SQM Scripts (QoS)
  20. PKGARCH:=all
  21. MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
  22. endef
  23. define Package/sqm-scripts/description
  24. A set of scripts that does simple SQM configuration.
  25. endef
  26. define Package/sqm-scripts/conffiles
  27. /etc/config/sqm
  28. endef
  29. define Build/Prepare
  30. endef
  31. define Build/Configure
  32. endef
  33. define Build/Compile
  34. endef
  35. define Package/sqm-scripts/install
  36. $(INSTALL_DIR) $(1)
  37. $(CP) ./files/* $(1)/
  38. endef
  39. $(eval $(call BuildPackage,sqm-scripts))