branch Attitude Adjustment packages
[12.09/packages.git] / net / multiwan / Makefile
1 #
2 # Copyright (C) 2010-2012 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:=multiwan
11 PKG_VERSION:=1.0.22
12 PKG_RELEASE:=2
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/multiwan
17   SECTION:=net
18   CATEGORY:=Network
19   DEPENDS:=+ip +iptables +kmod-ipt-conntrack +iptables-mod-conntrack-extra +iptables-mod-ipopt
20   TITLE:=Simple multi WAN configuration
21   URL:=ftp://ftp.netlab7.com/
22   MAINTAINER:=Craig M. Coffee <craigc@netlab7.com>
23 endef
24
25 define Package/multiwan/description
26 An agent script that makes Multi-WAN configuration simple,
27 easy and manageable. Complete with load balancing, failover and an easy
28 to manage traffic ruleset.
29 endef
30
31 define Package/multiwan/conffiles
32 /etc/config/multiwan
33 endef
34
35 define Build/Compile
36 endef
37
38 define Package/multiwan/install
39         $(CP) ./files/* $(1)
40 endef
41
42 define Package/multiwan/postinst
43 [ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/multiwan enable
44 exit 0
45 endef
46
47 $(eval $(call BuildPackage,multiwan))