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