21 lines
702 B
Bash
21 lines
702 B
Bash
# Template file for 'wireguard-tools'
|
|
pkgname=wireguard-tools
|
|
version=1.0.20200121
|
|
revision=1
|
|
build_wrksrc="src"
|
|
build_style=gnu-makefile
|
|
make_install_args="WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes"
|
|
makedepends="libmnl-devel"
|
|
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=15bfdbdbecbd3870ced9a7e68286c871bfcb2071d165f113808081f2e428faa3
|
|
make_dirs="/etc/wireguard 0700 root root"
|
|
|
|
post_extract() {
|
|
sed -i 's/^CFLAGS /override &/' ${build_wrksrc}/Makefile
|
|
}
|