Root/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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=ipv6-support
11PKG_VERSION:=2012-12-28
12PKG_RELEASE:=1
13
14include $(INCLUDE_DIR)/package.mk
15
16define 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
23endef
24
25define Package/ipv6-support/description
26This package provides basic IPv6 support including Router Discovery,
27DHCPv6 (client & server), prefix delegation and distribution.
28endef
29
30define Build/Compile
31endef
32
33define Build/Configure
34endef
35
36define Package/ipv6-support/conffiles
37/etc/config/network6
38endef
39
40define 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_DIR) $(1)/etc/config
47    $(INSTALL_DATA) ./files/network6.config $(1)/etc/config/network6
48endef
49
50$(eval $(call BuildPackage,ipv6-support))
51

Archive Download this file



interactive