mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 06:36:45 +02:00
38 lines
859 B
Text
38 lines
859 B
Text
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=liburing
|
|
pkgver=2.9
|
|
pkgrel=0
|
|
pkgdesc="Linux kernel io_uring access library"
|
|
url="https://git.kernel.dk/cgit/liburing/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later OR MIT"
|
|
makedepends="linux-headers"
|
|
checkdepends="bash procps-ng"
|
|
subpackages="$pkgname-ffi $pkgname-dev $pkgname-doc"
|
|
source="https://github.com/axboe/liburing/archive/refs/tags/liburing-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
|
|
# tests fail on CI
|
|
options="!check"
|
|
|
|
build() {
|
|
./configure \
|
|
--use-libc \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make runtests
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
ffi() {
|
|
amove usr/lib/liburing-ffi.so.*
|
|
}
|
|
|
|
sha512sums="
|
|
f27233e6128444175b18cd1d45647acdd27b906a8cd561029508710e443b44416b916cad1b2c1217e23d9a5ffb5ba68b119e9c812eae406650fbd10bf26c2fa5 liburing-2.9.tar.gz
|
|
"
|