mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 05:26:40 +02:00
Completed cases/5.p with 1 -- FAILED. The test failed due to a known kernel's issue. A patch has been submitted to linux and is expected to be fixed. https://lore.kernel.org/loongarch/20240423074257.2480274-1-chenhuacai@loongson.cn
50 lines
1.8 KiB
Text
50 lines
1.8 KiB
Text
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=libaio
|
|
pkgver=0.3.113
|
|
pkgrel=2
|
|
pkgdesc="Asynchronous input/output library"
|
|
url="https://pagure.io/libaio"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
checkdepends="bash"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://pagure.io/libaio/archive/libaio-$pkgver/libaio-libaio-$pkgver.tar.gz
|
|
libaio-cppflags.patch
|
|
libaio-errno.patch
|
|
test.patch
|
|
test-poll.patch
|
|
"
|
|
|
|
# loongarch64: cases/5.p failed due to loongarch's kernel issue
|
|
# https://lore.kernel.org/loongarch/20240423074257.2480274-1-chenhuacai@loongson.cn/
|
|
case "$CARCH" in
|
|
arm*|aarch64|loongarch64)
|
|
# fail for some reason on builders only
|
|
options="$options !check"
|
|
;;
|
|
esac
|
|
builddir="$srcdir/libaio-libaio-$pkgver"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make partcheck
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
cd man
|
|
find ./ -name "*.3" -exec install -Dm 644 {} "$pkgdir"/usr/share/man/man3/{} \;
|
|
}
|
|
|
|
sha512sums="
|
|
8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd libaio-libaio-0.3.113.tar.gz
|
|
c9ad6ff35ba12f33e308059d89592281768cef7091213b4702b64af2d194462864ec660dea327f8b718e5c723ec9ba6170b591461e2b140ba94f6838cddb8d7c libaio-cppflags.patch
|
|
2bf5224f5c5714786cb9ed28d9ae7c1721ad21a498d7e76d0cd1443435f7cd424bd6d80baa961a07f38f20359711b3270cd5913890a47b683e035dfe00f66054 libaio-errno.patch
|
|
b2bb73b7fe2ae083af8d7a8a6e5fe34830bff007b5dcdb565a440d81178f85862ac5b45b5e9ea061a5624eb4841ef013ed5c0d725e23f329721d4699b3d2cf56 test.patch
|
|
b8c0fc6eb5c624a58c0110893af44cb1a3b3b047a6498705655854e3e1172fc587520cbe945738689c69d89b39c11c614e039e4850e0bb019e6a78fa1b5a9a85 test-poll.patch
|
|
"
|