source: packages/net/tinc/Makefile @ 27795

Last change on this file since 27795 was 27795, checked in by swalker, 5 years ago

[packages] tinc: update to 1.0.16 (#9801)

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2007-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=tinc
11PKG_VERSION:=1.0.16
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_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
18PKG_MD5SUM:=f1c7ed94878725fb2cf4efb02bf160da
19
20PKG_INSTALL:=1
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/tinc
25  SECTION:=net
26  CATEGORY:=Network
27  DEPENDS:=+liblzo +libopenssl +kmod-tun
28  TITLE:=VPN tunneling daemon
29  URL:=http://www.tinc-vpn.org/
30  SUBMENU:=VPN
31endef
32
33define Package/tinc/description
34  tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
35  encryption to create a secure private network between hosts on the Internet.
36endef
37
38TARGET_CFLAGS += -std=gnu99
39
40CONFIGURE_ARGS += \
41        --with-kernel="$(LINUX_DIR)" \
42        --with-zlib="$(STAGING_DIR)/usr" \
43        --with-lzo-include="$(STAGING_DIR)/usr/include/lzo"
44
45define Package/tinc/install
46        $(INSTALL_DIR) $(1)/usr/sbin
47        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tincd $(1)/usr/sbin/
48endef
49
50$(eval $(call BuildPackage,tinc))
Note: See TracBrowser for help on using the repository browser.