2 # Copyright (C) 2010 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
24 define Package/6in4/description
25 Provides support for 6in4 tunnels in /etc/config/network.
26 Refer to http://wiki.openwrt.org/doc/uci/network for
27 configuration details.
33 define Build/Configure
36 define Package/6in4/install
37 $(INSTALL_DIR) $(1)/lib/network
38 $(INSTALL_DATA) ./files/6in4.sh $(1)/lib/network/6in4.sh
39 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
40 $(INSTALL_DATA) ./files/6in4.hotplug $(1)/etc/hotplug.d/iface/90-6in4
43 $(eval $(call BuildPackage,6in4))