packages: fold the IPv6 menu into Network
[packages.git] / ipv6 / 6tunnel / Makefile
1 #
2 # Copyright (C) 2007-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:=6tunnel
11 PKG_VERSION:=0.11rc2
12 PKG_RELEASE:=3
13 PKG_MD5SUM:=74e02d4f0704b3083a01feda66033449
14
15 PKG_SOURCE_URL:=http://toxygen.net/6tunnel/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/6tunnel
21   SECTION:=net
22   CATEGORY:=Network
23   DEPENDS:=+libpcap +kmod-sit
24   TITLE:=IPv4 / IPv6 tunnel proxy
25   URL:=http://toxygen.net/6tunnel/
26 endef
27
28 define Package/6tunnel/description
29 IPv4 / IPv6 tunnel proxy
30 endef
31
32 define Build/Compile
33         $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
34 endef
35
36 define Package/6tunnel/install
37         $(INSTALL_DIR) $(1)/usr/sbin
38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/6tunnel $(1)/usr/sbin/
39 endef
40
41 $(eval $(call BuildPackage,6tunnel))