5308193568
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12257 3c298f89-4303-0410-b956-a3cf2f4a3e73
43 lines
915 B
Makefile
43 lines
915 B
Makefile
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=6tunnel
|
|
PKG_VERSION:=0.11rc2
|
|
PKG_RELEASE:=2
|
|
PKG_MD5SUM:=74e02d4f0704b3083a01feda66033449
|
|
|
|
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
|
|
|
|
define Package/6tunnel/description
|
|
IPv4 / IPv6 tunnel proxy
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
|
|
endef
|
|
|
|
define Package/6tunnel/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/6tunnel $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,6tunnel))
|