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
:=1b59583b5bc57806459c81a413fb0cc4
20 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=+liblzo
+libopenssl
+zlib
26 TITLE
:=VPN tunneling daemon
27 URL
:=http
://www.tinc-vpn.org
/
31 define Build
/Configure
32 $(call Build
/Configure
/Default
, \
33 --with-kernel
="$(LINUX_DIR)" \
34 --with-zlib
="$(STAGING_DIR)/usr" \
35 --with-lzo-include
="$(STAGING_DIR)/usr/include/lzo" \
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
41 DESTDIR
="$(PKG_INSTALL_DIR)" \
45 define Package
/tinc
/install
46 $(INSTALL_DIR
) $(1)/usr
/sbin
47 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/tincd
$(1)/usr
/sbin
/
50 $(eval
$(call BuildPackage
,tinc
))