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:
parent
7df2c93459
commit
11d7172334
@ -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"
|
Loading…
x
Reference in New Issue
Block a user