2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=matrixtunnel
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://znerol.ch
/files
17 PKG_MD5SUM
:=af169751efc7d87d500716a48d74ddc5
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/matrixtunnel
27 DEPENDS
:=+libmatrixssl
28 TITLE
:=SSL tunnel based on matrixssl
29 URL
:=http
://znerol.ch
/svn
/matrixtunnel
/trunk
/
32 define Package
/matrixtunnel
/description
33 matrixtunnel is a stripped down version of stunnel
34 based on matrixssl library.
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
39 --without-libiconv-prefix \
40 --without-libintl-prefix \
41 --with-matrixssl-src
="$(BUILD_DIR)/matrixssl" \
46 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
47 DESTDIR
="$(PKG_INSTALL_DIR)" \
51 define Package
/matrixtunnel
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/matrixtunnel
$(1)/usr
/bin
/
56 $(eval
$(call BuildPackage
,matrixtunnel
))