8397bc46229d43f9516a89e6c2e787ca2a76cbdb
[openwrt/svn-archive/archive.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:=2012-11-29
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/install
37 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
38 $(INSTALL_DATA) ./files/ipv6.hotplug $(1)/etc/hotplug.d/iface/20-ipv6
39 $(INSTALL_DIR) $(1)/lib/ipv6
40 $(INSTALL_DATA) ./files/support.sh $(1)/lib/ipv6/support.sh
41 $(INSTALL_BIN) ./files/dhcpv6.sh $(1)/lib/ipv6/dhcpv6.sh
42 $(INSTALL_DIR) $(1)/etc/config
43 $(INSTALL_DATA) ./files/network6.config $(1)/etc/config/network6
44 endef
45
46 $(eval $(call BuildPackage,ipv6-support))