aports/main/liburing/APKBUILD
psykose c2d2cf9d2a
main/liburing: fix include headers
fixes #13813

previously, a bug in the configure script prevented liburing from
properly detecting the linux kernel headers and redefined some structs,
which made the liburing headers incompatible
2022-05-16 11:49:07 +02:00

33 lines
845 B
Plaintext

# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=liburing
pkgver=2.1
pkgrel=1
pkgdesc="Linux kernel io_uring access library"
url="https://git.kernel.dk/cgit/liburing/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://git.kernel.dk/cgit/liburing/snapshot/liburing-$pkgver.tar.gz
busybox-mktemp.patch
"
build() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
83d17894a4848517fa4c3a9e9d74909bc040a3110172044a60a2b7fa11873e476617faa16f63aaf83d4c5fcaa1942a3430fd9afb3e79e9e59b370fc369b0eb10 liburing-2.1.tar.gz
28650f7833ad65823d9a32a4a8d549e5db21af609085417791145f9ab2f1e0d982cb5e111b1686d6c400a20905d646eab169704d1d4c305cca45d308fa1b7041 busybox-mktemp.patch
"