1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=qos-scripts
  9. PKG_VERSION:=1.3.0
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
  12. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/qos-scripts
  15. SECTION:=utils
  16. CATEGORY:=Base system
  17. DEPENDS:=+tc +kmod-sched-core +kmod-sched-connmark +kmod-ifb +iptables +iptables-mod-ipopt +iptables-mod-conntrack-extra
  18. TITLE:=QoS scripts
  19. PKGARCH:=all
  20. endef
  21. define Package/qos-scripts/description
  22. A set of scripts that abstract QoS configuration into a simple
  23. configuration file supporting stanzas that specify any number of QoS
  24. entries.
  25. endef
  26. define Package/qos-scripts/conffiles
  27. /etc/config/qos
  28. endef
  29. define Build/Prepare
  30. endef
  31. define Build/Configure
  32. endef
  33. define Build/Compile
  34. endef
  35. define Package/qos-scripts/install
  36. $(INSTALL_DIR) $(1)
  37. $(CP) ./files/* $(1)/
  38. endef
  39. $(eval $(call BuildPackage,qos-scripts))