2007-10-27 07:12:13 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 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.
|
|
|
|
#
|
2006-10-30 13:51:50 +00:00
|
|
|
# $Id$
|
2006-08-06 10:39:32 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=6tunnel
|
2008-08-09 09:44:19 +00:00
|
|
|
PKG_VERSION:=0.11rc2
|
2007-10-27 07:12:13 +00:00
|
|
|
PKG_RELEASE:=2
|
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
|
|
|
|
SECTION:=ipv6
|
|
|
|
CATEGORY:=IPv6
|
|
|
|
DEPENDS:=+libpcap
|
|
|
|
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))
|