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