mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
Four libqb tests fail: https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/testing/libqb/libqb-2.0.8-r0.log usbguard depends on libqb, and usbguard-notifier in turn depends on usbguard
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer:
|
|
pkgname=libqb
|
|
pkgver=2.0.8
|
|
pkgrel=0
|
|
pkgdesc="Library providing high performance logging, tracing, ipc, and poll"
|
|
url="https://clusterlabs.github.io/libqb"
|
|
license="LGPL-2.1-or-later"
|
|
# loongarch64: tests fail
|
|
arch="all !loongarch64"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
coreutils
|
|
doxygen
|
|
graphviz-dev
|
|
libtool
|
|
libxml2-dev
|
|
"
|
|
checkdepends="check-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
|
|
source="https://github.com/ClusterLabs/libqb/releases/download/v$pkgver/libqb-$pkgver.tar.xz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
./autogen.sh
|
|
}
|
|
|
|
check() {
|
|
make -C tests VERBOSE=1 check
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--localstatedir=/var \
|
|
--includedir=/usr/include \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir"
|
|
|
|
# remove a helper tool
|
|
rm "$pkgdir"/usr/bin/doxygen2man
|
|
}
|
|
|
|
tools() {
|
|
pkgdesc="Tools to use with $pkgname"
|
|
|
|
amove usr/sbin
|
|
}
|
|
|
|
sha512sums="
|
|
9db87b248af87d9aa0520bc0045264a5f0a710fd582a16285990685cb8f8b485ba24b774f2ab7eb719bac5ed3bbf3a315696f7191a5fcf7beea33126a4402a09 libqb-2.0.8.tar.xz
|
|
"
|