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