ipv6-support: don't use disable_ipv6
[openwrt/staging/wigyori.git] / package / network / ipv6 / ipv6-support / 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:=ipv6-support
11 PKG_VERSION:=2013-01-13
12 PKG_RELEASE:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/ipv6-support
17 SECTION:=ipv6
18 CATEGORY:=IPv6
19 DEPENDS:=+kmod-ipv6 +6relayd +odhcp6c +6distributed +ip6tables +ubus
20 TITLE:=Basic IPv6-support for Customer Edge Routers
21 MAINTAINER:=Steven Barth <steven@midlink.org>
22 PKGARCH:=all
23 endef
24
25 define Package/ipv6-support/description
26 This package provides basic IPv6 support including Router Discovery,
27 DHCPv6 (client & server), prefix delegation and distribution.
28 endef
29
30 define Build/Compile
31 endef
32
33 define Build/Configure
34 endef
35
36 define Package/ipv6-support/conffiles
37 /etc/config/network6
38 endef
39
40 define Package/ipv6-support/install
41 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
42 $(INSTALL_DATA) ./files/ipv6.hotplug $(1)/etc/hotplug.d/iface/20-ipv6
43 $(INSTALL_DIR) $(1)/lib/ipv6
44 $(INSTALL_DATA) ./files/support.sh $(1)/lib/ipv6/support.sh
45 $(INSTALL_BIN) ./files/dhcpv6.sh $(1)/lib/ipv6/dhcpv6.sh
46 $(INSTALL_BIN) ./files/firewall.sh $(1)/lib/ipv6/firewall.sh
47 $(INSTALL_DIR) $(1)/etc/config
48 $(INSTALL_DATA) ./files/network6.config $(1)/etc/config/network6
49 $(INSTALL_DIR) $(1)/etc/uci-defaults
50 $(INSTALL_BIN) ./files/ipv6-support.defaults $(1)/etc/uci-defaults/ipv6-support.defaults
51 endef
52
53 $(eval $(call BuildPackage,ipv6-support))