mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=keyutils
|
|
pkgver=1.6
|
|
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"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
|
source="https://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make -j1 \
|
|
NO_ARLIB=1 \
|
|
LIBDIR=/lib \
|
|
USRLIBDIR=/usr/lib \
|
|
VERSION=$pkgver \
|
|
RELEASE=-r$pkgrel \
|
|
CFLAGS="$CFLAGS"
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" \
|
|
NO_ARLIB=1 \
|
|
LIBDIR=/lib \
|
|
USRLIBDIR=/usr/lib \
|
|
install
|
|
}
|
|
|
|
libs() {
|
|
pkgdesc="Key utilities library"
|
|
mkdir -p "$subpkgdir"
|
|
mv "$pkgdir"/lib "$subpkgdir"/
|
|
}
|
|
|
|
sha512sums="ee50da165099ea26904066d24b27c5165cb1eb78df6768cba3a534aa318a5c8d926ec6e5322a38c8cedaa768cd79bdcb26ef918aa8447df2e5dfbbe7b8f200ff keyutils-1.6.tar.bz2"
|