diff options
Diffstat (limited to 'testing/wireguard-tools/APKBUILD')
-rw-r--r-- | testing/wireguard-tools/APKBUILD | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/testing/wireguard-tools/APKBUILD b/testing/wireguard-tools/APKBUILD index 6cdb23777c..0d98a6d8ba 100644 --- a/testing/wireguard-tools/APKBUILD +++ b/testing/wireguard-tools/APKBUILD @@ -3,14 +3,14 @@ pkgname=wireguard-tools pkgver=0.0.20170223 -pkgrel=0 +pkgrel=1 pkgdesc="Next generation secure network tunnel: userspace tools" arch='all' url='https://www.wireguard.io' license="GPLv2" -makedepends="libmnl-dev sparse" -subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch \ - $pkgname-tests:tests:noarch" +makedepends="libmnl-dev" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" +options="!check" source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz" builddir="$srcdir"/WireGuard-$pkgver @@ -21,8 +21,6 @@ build() { package() { cd "$builddir" - - install_if="linux-${_flavor}=${_kver} $pkgname" mkdir -p "$pkgdir"/usr/share/doc/$_name make -C src/tools \ @@ -44,22 +42,4 @@ bashcomp() { mv "$pkgdir"/usr/share "$subpkgdir"/usr } -tests() { - pkgdesc="Wireguard test suites" - - mkdir -p "$subpkgdir"/usr/share/wireguard - mv "$builddir"/src/tests "$subpkgdir"/usr/share/wireguard - cp -rf "$builddir"/contrib/external-tests "$subpkgdir"/usr/share/wireguard -} - -check() { - return 0 - # currently failing: attribute 'nocapture': unknown attribute - # not part of musl libc ? - make -C src/ \ - KERNELDIR=/lib/modules/${_abi_release}/build \ - check \ - || return 1 -} - sha512sums="273ef6463d447cb04b608a0379cce5c0ed4065f988b3f449995593592b42f2fc269fc249a8e3c22c28bfa682430ee20b5b7a46a96803c9c67d1b6fed7b800455 WireGuard-0.0.20170223.tar.xz" |