mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
wireguard: make transitional.
This commit is contained in:
parent
4cc4d70003
commit
1d29df6d05
3 changed files with 4 additions and 37 deletions
|
@ -1 +0,0 @@
|
|||
wireguard
|
|
@ -1,40 +1,10 @@
|
|||
# Template file for 'wireguard'
|
||||
pkgname=wireguard
|
||||
version=0.0.20191219
|
||||
version=0.0.20191226
|
||||
revision=1
|
||||
wrksrc="WireGuard-${version}"
|
||||
build_wrksrc="src/tools"
|
||||
build_style=gnu-makefile
|
||||
make_install_args="WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes"
|
||||
makedepends="libmnl-devel"
|
||||
depends="dkms wireguard-tools"
|
||||
short_desc="Fast, modern, secure VPN tunnel"
|
||||
build_style=meta
|
||||
depends="wireguard-dkms wireguard-tools"
|
||||
short_desc="Fast, modern, secure VPN tunnel - transitional package"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://www.wireguard.com/"
|
||||
distfiles="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz"
|
||||
checksum=5aba6f0c38e97faa0b155623ba594bb0e4bd5e29deacd8d5ed8bda8d8283b0e7
|
||||
|
||||
dkms_modules="wireguard ${version}"
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/^CFLAGS /override &/' ${build_wrksrc}/Makefile
|
||||
}
|
||||
post_install() {
|
||||
make -C .. DESTDIR="${DESTDIR}" \
|
||||
DKMSDIR="/usr/src/wireguard-${version}/" dkms-install
|
||||
}
|
||||
|
||||
wireguard-tools_package() {
|
||||
short_desc+=" - tools"
|
||||
depends="openresolv"
|
||||
make_dirs="/etc/wireguard 0700 root root"
|
||||
pkg_install() {
|
||||
vmove usr/bin/wg
|
||||
vmove usr/bin/wg-quick
|
||||
vmove usr/share/bash-completion/completions/wg
|
||||
vmove usr/share/bash-completion/completions/wg-quick
|
||||
vmove usr/share/man/man8/wg-quick.8
|
||||
vmove usr/share/man/man8/wg.8
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
site='https://git.zx2c4.com/WireGuard/'
|
||||
pattern='WireGuard-\K[\d.]*\d'
|
Loading…
Add table
Reference in a new issue