mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/keyutils: modernise, mark tests broken
This commit is contained in:
parent
dc013620e5
commit
12fd9c83e7
@ -6,6 +6,7 @@ pkgrel=0
|
||||
pkgdesc="Linux Key Management Utilities"
|
||||
url="http://people.redhat.com/~dhowells/keyutils/"
|
||||
arch="all"
|
||||
options="!check" # Test suite requires RPM.
|
||||
license="GPL-2.0-or-later LGPL-2.0-or-later"
|
||||
depends=""
|
||||
makedepends="file linux-headers"
|
||||
@ -15,36 +16,24 @@ source="http://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2
|
||||
fix-includes.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/keyutils-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make -j1 \
|
||||
NO_ARLIB=1 \
|
||||
LIBDIR=/lib \
|
||||
USRLIBDIR=/usr/lib \
|
||||
VERSION=$pkgver \
|
||||
RELEASE=-r$pkgrel \
|
||||
CFLAGS="$CFLAGS" \
|
||||
|| return 1
|
||||
CFLAGS="$CFLAGS"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" \
|
||||
NO_ARLIB=1 \
|
||||
LIBDIR=/lib \
|
||||
USRLIBDIR=/usr/lib \
|
||||
install || return 1
|
||||
install
|
||||
}
|
||||
|
||||
libs() {
|
||||
|
Loading…
Reference in New Issue
Block a user