2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_MD5SUM:=74e02d4f0704b3083a01feda66033449
15 PKG_SOURCE_URL:=http://toxygen.net/6tunnel/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18 include $(INCLUDE_DIR)/package.mk
20 define Package/6tunnel
23 DEPENDS:=+libpcap +kmod-sit
24 TITLE:=IPv4 / IPv6 tunnel proxy
25 URL:=http://toxygen.net/6tunnel/
28 define Package/6tunnel/description
29 IPv4 / IPv6 tunnel proxy
33 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
36 define Package/6tunnel/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/6tunnel $(1)/usr/sbin/
41 $(eval $(call BuildPackage,6tunnel))