void-packages/srcpkgs/wireguard-dkms/template

21 lines
693 B
Bash
Raw Normal View History

# Template file for 'wireguard-dkms'
pkgname=wireguard-dkms
version=0.0.20200128
revision=1
wrksrc="wireguard-linux-compat-${version}"
build_wrksrc="src"
depends="dkms wireguard-tools perl"
short_desc="Fast, modern, secure VPN tunnel (DKMS module for Linux <= 5.5)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://www.wireguard.com/"
distfiles="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${version}.tar.xz"
checksum=8610c6d8712cfd885f50b1a8c572518edf318c094d68491ea218bb50566a9a8a
dkms_modules="wireguard ${version}"
do_install() {
make DESTDIR="${DESTDIR}" \
DKMSDIR="/usr/src/wireguard-${version}/" dkms-install
}