2006-07-24 07:16:02 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=matrixtunnel
|
2007-02-28 02:01:12 +00:00
|
|
|
PKG_VERSION:=0.2
|
2006-07-24 07:16:02 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://znerol.ch/files
|
2007-02-28 17:38:54 +00:00
|
|
|
PKG_MD5SUM:=af169751efc7d87d500716a48d74ddc5
|
2006-07-24 07:16:02 +00:00
|
|
|
|
2006-10-28 22:43:08 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
2006-07-24 07:16:02 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/matrixtunnel
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2007-12-28 15:18:07 +00:00
|
|
|
SUBMENU:=VPN
|
2006-07-24 07:16:02 +00:00
|
|
|
DEPENDS:=+libmatrixssl
|
|
|
|
TITLE:=SSL tunnel based on matrixssl
|
|
|
|
URL:=http://znerol.ch/svn/matrixtunnel/trunk/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/matrixtunnel/description
|
|
|
|
matrixtunnel is a stripped down version of stunnel
|
|
|
|
based on matrixssl library.
|
|
|
|
endef
|
|
|
|
|
2006-07-24 07:16:02 +00:00
|
|
|
define Build/Configure
|
2006-10-28 22:43:08 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix \
|
|
|
|
--with-matrixssl-src="$(BUILD_DIR)/matrixssl" \
|
|
|
|
)
|
2006-07-24 07:16:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/matrixtunnel/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/matrixtunnel $(1)/usr/bin/
|
2006-07-24 07:16:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,matrixtunnel))
|