void-packages/srcpkgs/wireguard-tools/template
2020-06-09 18:12:56 +02:00

23 lines
710 B
Bash

# Template file for 'wireguard-tools'
pkgname=wireguard-tools
version=1.0.20200513
revision=2
build_wrksrc="src"
build_style=gnu-makefile
make_install_args="WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes"
depends="openresolv"
short_desc="Fast, modern, secure VPN tunnel - userland tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://www.wireguard.com/"
distfiles="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${version}.tar.xz"
checksum=e73409a9fb8c90506db241d1e1a4e7372a60dbfa400e37f4ab2fd70a92ba495f
make_dirs="/etc/wireguard 0700 root root"
post_extract() {
sed -i 's/^CFLAGS /override &/' ${build_wrksrc}/Makefile
}
post_install() {
vsv wireguard
}