Makefile 1015 B

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