Root/package/6to4/Makefile

1#
2# Copyright (C) 2010 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:=6to4
11PKG_VERSION:=3
12PKG_RELEASE:=1
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/6to4
17  SECTION:=ipv6
18  CATEGORY:=IPv6
19  DEPENDS:=+ip +kmod-ipv6 +kmod-sit
20  TITLE:=IPv6-to-IPv4 configuration support
21  MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
22  PKGARCH:=all
23endef
24
25define Package/6to4/description
26Provides support for 6to4 tunnels in /etc/config/network.
27Refer to http://wiki.openwrt.org/doc/uci/network for
28configuration details.
29endef
30
31define Build/Compile
32endef
33
34define Build/Configure
35endef
36
37define Package/6to4/install
38    $(INSTALL_DIR) $(1)/lib/network
39    $(INSTALL_DATA) ./files/6to4.sh $(1)/lib/network/6to4.sh
40    $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
41    $(INSTALL_DATA) ./files/6to4.hotplug $(1)/etc/hotplug.d/iface/91-6to4
42endef
43
44$(eval $(call BuildPackage,6to4))
45

Archive Download this file



interactive