[packages] net/ddns-scripts: increment release number
[openwrt/svn-archive/archive.git] / net / matrixtunnel / Makefile
1 #
2 # Copyright (C) 2006 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:=1
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 include $(INCLUDE_DIR)/package.mk
21
22 define Package/matrixtunnel
23 SECTION:=net
24 CATEGORY:=Network
25 SUBMENU:=VPN
26 DEPENDS:=+libmatrixssl
27 TITLE:=SSL tunnel based on matrixssl
28 URL:=http://znerol.ch/svn/matrixtunnel/trunk/
29 endef
30
31 define Package/matrixtunnel/description
32 matrixtunnel is a stripped down version of stunnel
33 based on matrixssl library.
34 endef
35
36 define Build/Configure
37 $(call Build/Configure/Default, \
38 --without-libiconv-prefix \
39 --without-libintl-prefix \
40 --with-matrixssl-src="$(BUILD_DIR)/matrixssl" \
41 )
42 endef
43
44 define Build/Compile
45 $(MAKE) -C $(PKG_BUILD_DIR)/src \
46 DESTDIR="$(PKG_INSTALL_DIR)" \
47 all install
48 endef
49
50 define Package/matrixtunnel/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/matrixtunnel $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,matrixtunnel))