Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Copyright (C) 2006-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:=mwan3
  9. PKG_VERSION:=2.0.2
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
  12. PKG_LICENSE:=GPLv2
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/mwan3
  15. SECTION:=net
  16. CATEGORY:=Network
  17. SUBMENU:=Routing and Redirection
  18. DEPENDS:=+ip +ipset +iptables +iptables-mod-conntrack-extra +iptables-mod-ipopt
  19. TITLE:=Multiwan hotplug script with connection tracking support
  20. PKGARCH:=all
  21. endef
  22. define Package/mwan3/description
  23. Hotplug script which makes configuration of multiple WAN interfaces simple
  24. and manageable. With loadbalancing/failover support for up to 250 wan
  25. interfaces, connection tracking and an easy to manage traffic ruleset.
  26. endef
  27. define Package/mwan3/conffiles
  28. /etc/config/mwan3
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/mwan3/install
  33. $(CP) ./files/* $(1)
  34. endef
  35. $(eval $(call BuildPackage,mwan3))