net/mwan3: add mwan3.user hotplug script
[feed/packages.git] / net / mwan3 / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mwan3
11 PKG_VERSION:=2.2
12 PKG_RELEASE:=4
13 PKG_MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>, \
14 Florian Eckert <fe@dev.tdt.de>
15 PKG_LICENSE:=GPLv2
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/mwan3
20 SECTION:=net
21 CATEGORY:=Network
22 SUBMENU:=Routing and Redirection
23 DEPENDS:=+ip +ipset +iptables +iptables-mod-conntrack-extra +iptables-mod-ipopt
24 TITLE:=Multiwan hotplug script with connection tracking support
25 MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>, \
26 Florian Eckert <fe@dev.tdt.de>
27 PKGARCH:=all
28 endef
29
30 define Package/mwan3/description
31 Hotplug script which makes configuration of multiple WAN interfaces simple
32 and manageable. With loadbalancing/failover support for up to 250 wan
33 interfaces, connection tracking and an easy to manage traffic ruleset.
34 endef
35
36 define Package/mwan3/conffiles
37 /etc/config/mwan3
38 /etc/mwan3.user
39 endef
40
41 define Build/Compile
42 endef
43
44 define Package/mwan3/install
45 $(CP) ./files/* $(1)
46 endef
47
48 $(eval $(call BuildPackage,mwan3))