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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.tinc-vpn.org
/packages \
17 http
://ftp.yi.se
/pub
/tinc
/ \
18 http
://www.mirrors.wiretapped.net
/security
/network-security
/tinc
/
19 PKG_MD5SUM
:=1b59583b5bc57806459c81a413fb0cc4
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+liblzo
+libopenssl
+zlib
27 TITLE
:=VPN tunneling daemon
28 URL
:=http
://www.tinc-vpn.org
/
32 define Build
/Configure
33 $(call Build
/Configure
/Default
, \
34 --with-kernel
="$(LINUX_DIR)" \
35 --with-zlib
="$(STAGING_DIR)/usr" \
36 --with-lzo-include
="$(STAGING_DIR)/usr/include/lzo" \
41 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
42 DESTDIR
="$(PKG_INSTALL_DIR)" \
46 define Package
/tinc
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/tincd
$(1)/usr
/sbin
/
51 $(eval
$(call BuildPackage
,tinc
))