aports/main/liburing/APKBUILD

39 lines
859 B
Text
Raw Permalink Normal View History

# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=liburing
pkgver=2.9
2024-05-01 08:54:07 +00:00
pkgrel=0
pkgdesc="Linux kernel io_uring access library"
url="https://git.kernel.dk/cgit/liburing/"
arch="all"
2023-02-26 11:42:37 +01:00
license="LGPL-2.1-or-later OR MIT"
makedepends="linux-headers"
2025-02-07 19:59:18 +01:00
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"
2025-02-07 20:10:17 +01:00
# tests fail on CI
options="!check"
build() {
./configure \
--use-libc \
--mandir=/usr/share/man
make
}
check() {
2025-02-07 19:59:18 +01:00
make runtests
}
package() {
make DESTDIR="$pkgdir" install
}
ffi() {
amove usr/lib/liburing-ffi.so.*
}
2021-09-11 05:59:35 +00:00
sha512sums="
f27233e6128444175b18cd1d45647acdd27b906a8cd561029508710e443b44416b916cad1b2c1217e23d9a5ffb5ba68b119e9c812eae406650fbd10bf26c2fa5 liburing-2.9.tar.gz
2021-09-11 05:59:35 +00:00
"