2 # Copyright (C) 2010-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=ipv6-support
11 PKG_VERSION
:=2012-12-31
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/ipv6-support
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
>
25 define Package
/ipv6-support
/description
26 This package provides basic IPv6 support including Router Discovery
,
27 DHCPv6
(client
& server
), prefix delegation and distribution.
33 define Build
/Configure
36 define Package
/ipv6-support
/conffiles
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
53 $(eval
$(call BuildPackage
,ipv6-support
))