aboutsummaryrefslogtreecommitdiffstats
path: root/main/liburing/APKBUILD
blob: 479730f61d971b061c593c3400e9d3f8ca68880d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=liburing
pkgver=2.5
pkgrel=1
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"
subpackages="liburing-ffi $pkgname-dev $pkgname-doc"
source="https://git.kernel.dk/cgit/liburing/snapshot/liburing-$pkgver.tar.gz
	"

build() {
	./configure \
		--prefix=/usr \
		--use-libc \
		--mandir=/usr/share/man
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

ffi() {
	amove usr/lib/liburing-ffi.so.*
}

sha512sums="
b537a644ba338fc6edc747e08a0c33e99008f5b0a33be03f304c7f94f4c28473d0eee7b0d731be966bf32be835b0e45beb308b3a0b3f6264a69a9e5362f00928  liburing-2.5.tar.gz
"