For reference, the Gentoo 9999 ebuild does this:
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-misc/wireguard/wireguard-9999.ebuild#n51
emake \
WITH_BASHCOMPLETION=yes \
WITH_SYSTEMDUNITS=yes \
WITH_WGQUICK=yes \
DESTDIR="${D}" \
BASHCOMPDIR="$(get_bashcompdir)" \
PREFIX="${EPREFIX}/usr" \
-C src/tools install
I imagine Debian and Arch will do something similar, perhaps leaving
out explicitly setting BASHCOMPDIR if you use standard patches. I
expect for OpenWRT to set all of these explicitly to "no". Etc.
Jason
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard