commit: 99cbbc98972f3c40906ee84556b30c43c26643fd Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> AuthorDate: Wed Jan 4 19:54:18 2017 +0000 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> CommitDate: Wed Jan 4 19:54:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cbbc98
net-misc/wireguard: support improved tooling Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-misc/wireguard/wireguard-9999.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild index 0aa291d..db54269 100644 --- a/net-misc/wireguard/wireguard-9999.ebuild +++ b/net-misc/wireguard/wireguard-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 -inherit linux-mod +inherit linux-mod bash-completion-r1 DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography." HOMEPAGE="https://www.wireguard.io/" @@ -48,8 +48,14 @@ src_compile() { src_install() { dodoc README.md dodoc -r contrib/examples - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C contrib/examples/wg-config install + emake \ + WITH_BASHCOMPLETION=yes \ + WITH_SYSTEMDUNITS=yes \ + WITH_WGQUICK=yes \ + DESTDIR="${D}" \ + BASHCOMPDIR="$(get_bashcompdir)" \ + PREFIX="${EPREFIX}/usr" \ + -C src/tools install if use kmod-src; then emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install else
