void-packages/srcpkgs/wireguard-dkms/template

20 lines
651 B
Bash

# Template file for 'wireguard-dkms'
pkgname=wireguard-dkms
version=1.0.20220627
revision=1
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=@83f0ce5ea2cb7fcc6af91fc40fe3fab78835c45a40abd0c8f5d693e95713b1de
dkms_modules="wireguard ${version}"
do_install() {
make DESTDIR="${DESTDIR}" \
DKMSDIR="/usr/src/wireguard-${version}/" dkms-install
}