void-packages/srcpkgs/wireguard-dkms/template
2020-05-01 19:44:11 +02:00

20 lines
693 B
Bash

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