1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="tinc is an easy to configure VPN implementation"
8 HOMEPAGE="http://www.tinc-vpn.org/"
10 SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
14 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
15 IUSE="libressl +lzo uml vde +zlib"
18 !libressl? ( dev-libs/openssl:0= )
19 libressl? ( dev-libs/libressl:0= )
20 lzo? ( dev-libs/lzo:2 )
21 zlib? ( sys-libs/zlib )"
23 vde? ( net-misc/vde )"
36 emake DESTDIR="${D}" install
38 dodoc AUTHORS NEWS README THANKS
39 doconfd "${FILESDIR}"/tinc.networks
40 newconfd "${FILESDIR}"/tincd.conf tincd
41 newinitd "${FILESDIR}"/tincd-r1 tincd
42 systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"