branch Attitude Adjustment packages
[12.09/packages.git] / net / matrixtunnel / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=matrixtunnel
11 PKG_VERSION:=0.2
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://znerol.ch/files
16 PKG_MD5SUM:=af169751efc7d87d500716a48d74ddc5
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 MAKE_PATH:=src
25
26 define Package/matrixtunnel
27   SECTION:=net
28   CATEGORY:=Network
29   SUBMENU:=VPN
30   DEPENDS:=+libmatrixssl
31   TITLE:=SSL tunnel based on matrixssl
32   URL:=http://znerol.ch/svn/matrixtunnel/trunk/
33 endef
34
35 define Package/matrixtunnel/description
36         matrixtunnel is a stripped down version of stunnel 
37         based on matrixssl library.
38 endef
39
40 define Build/Configure
41         $(call Build/Configure/Default, \
42                 --without-libiconv-prefix \
43                 --without-libintl-prefix \
44                 --with-matrixssl-src="$(BUILD_DIR)/matrixssl" \
45         )
46 endef
47
48 define Package/matrixtunnel/install
49         $(INSTALL_DIR) $(1)/usr/bin
50         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/matrixtunnel $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,matrixtunnel))