main/wireguard-postmarketos-stable: remove

This isn't building anymore, because linux-postmarketos-stable has been
switched from armhf to armv7 in pma!240.

We could change the arch of wireguard-postmarketos-stable too, but the
package is not maintained at all, and I doubt that anybody is using it.
So I'm dropping it. If there are any users, please step up to maintain
the package.
This commit is contained in:
Oliver Smith 2019-02-27 21:27:45 +01:00
parent 7df2c93459
commit 11d7172334
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB

View File

@ -1,46 +0,0 @@
_flavor=postmarketos-stable
_kpkg=linux-$_flavor
_kver=4.18.4
# we must match up _toolsrel with wireguard-tools
_ver=0.0.20180809
_toolsrel=0
_kpkgver="$_kver-r$_kpkgrel"
_toolsver="$_ver-r$toolsrel"
_abi_release=${_kver}
pkgname=wireguard-${_flavor}
pkgver=4.18.4
pkgrel=0
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
arch="x86_64 armhf aarch64"
url='https://www.wireguard.com'
license="GPL-2.0"
depends="linux-postmarketos-stable"
makedepends="linux-postmarketos-stable-dev libmnl-dev libelf-dev elfutils-libelf"
install_if="wireguard-tools=$_toolsver linux-postmarketos-stable=$_kpkgver"
options="!check"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$_ver.tar.xz"
builddir="$srcdir"/WireGuard-$_ver
build() {
cd "$builddir"
# only building module: see wireguard-tools for userspace
unset LDFLAGS
make -C src/ \
KERNELDIR=/lib/modules/${_abi_release}/build \
module
}
package() {
cd "$builddir/src"
local module=
for module in *.ko; do
install -v -D -m644 ${module} \
"$pkgdir/lib/modules/$_abi_release/extra/${module}"
done
}
sha512sums="2278cae078cf3ff9e0c43979ff559820d9d99b64c1ccdbc8a7fea3fc1a5fa0818d782a8962aefc07678599cc15f5a4237fd5dd7ffad108d639c39930979e3cc5 WireGuard-0.0.20180809.tar.xz"