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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.tinc-vpn.org
/packages \
16 http
://ftp.yi.se
/pub
/tinc
/ \
17 http
://www.mirrors.wiretapped.net
/security
/network-security
/tinc
/
18 PKG_MD5SUM
:=86263994d38c750431efd17e9a91a248
22 include $(INCLUDE_DIR
)/package.mk
24 TARGET_CFLAGS
+=-std
=gnu99
29 DEPENDS
:=+liblzo
+libopenssl
+kmod-tun
30 TITLE
:=VPN tunneling daemon
31 URL
:=http
://www.tinc-vpn.org
/
35 define Package
/tinc
/description
36 tinc is a Virtual Private Network
(VPN
) daemon that uses tunnelling and
37 encryption to create a secure private network between hosts on the Internet.
40 define Build
/Configure
41 $(call Build
/Configure
/Default
, \
42 --with-kernel
="$(LINUX_DIR)" \
43 --with-zlib
="$(STAGING_DIR)/usr" \
44 --with-lzo-include
="$(STAGING_DIR)/usr/include/lzo" \
48 define Package
/tinc
/install
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/tincd
$(1)/usr
/sbin
/
53 $(eval
$(call BuildPackage
,tinc
))