2 # Copyright (C) 2010-2011 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
14 include $(INCLUDE_DIR
)/package.mk
19 DEPENDS
:=+ip
+kmod-ipv6
+kmod-sit
20 TITLE
:=IPv6-in-IPv4 configuration support
21 MAINTAINER
:=Jo-Philipp Wich
<xm@subsignal.org
>
25 define Package
/6in4
/description
26 Provides support for
6in4 tunnels in
/etc
/config
/network.
27 Refer to http
://wiki.openwrt.org
/doc
/uci
/network for
28 configuration details.
34 define Build
/Configure
37 ifneq ($(CONFIG_PACKAGE_netifd
),)
38 define Package
/6in4
/install
39 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
40 $(INSTALL_BIN
) .
/files
/6in4.sh
$(1)/lib
/netifd
/proto
/6in4.sh
41 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
42 $(INSTALL_DATA
) .
/files
/6in4.hotplug
$(1)/etc
/hotplug.d
/iface
/90-6in4
45 define Package
/6in4
/install
46 $(INSTALL_DIR
) $(1)/lib
/network
47 $(INSTALL_DATA
) .
/files.old
/6in4.sh
$(1)/lib
/network
/6in4.sh
48 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
49 $(INSTALL_DATA
) .
/files.old
/6in4.hotplug
$(1)/etc
/hotplug.d
/iface
/90-6in4
53 $(eval
$(call BuildPackage
,6in4
))