2007-10-27 07:12:13 +00:00
|
|
|
#
|
2012-01-19 16:08:49 +00:00
|
|
|
# Copyright (C) 2007-2012 OpenWrt.org
|
2006-08-06 10:39:32 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=6tunnel
|
2008-08-09 09:44:19 +00:00
|
|
|
PKG_VERSION:=0.11rc2
|
2012-01-19 16:08:49 +00:00
|
|
|
PKG_RELEASE:=3
|
2008-08-09 09:44:19 +00:00
|
|
|
PKG_MD5SUM:=74e02d4f0704b3083a01feda66033449
|
2006-08-06 10:39:32 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://toxygen.net/6tunnel/
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/6tunnel
|
2013-05-14 15:02:57 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2009-04-30 21:09:19 +00:00
|
|
|
DEPENDS:=+libpcap +kmod-sit
|
2006-08-06 10:39:32 +00:00
|
|
|
TITLE:=IPv4 / IPv6 tunnel proxy
|
|
|
|
URL:=http://toxygen.net/6tunnel/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/6tunnel/description
|
|
|
|
IPv4 / IPv6 tunnel proxy
|
|
|
|
endef
|
|
|
|
|
2006-08-06 10:39:32 +00:00
|
|
|
define Build/Compile
|
2008-08-09 09:44:19 +00:00
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
|
2006-08-06 10:39:32 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/6tunnel/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-10-27 07:12:13 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/6tunnel $(1)/usr/sbin/
|
2006-08-06 10:39:32 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,6tunnel))
|