mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
# Maintainer:
|
|
pkgname=libtracefs
|
|
pkgver=1.7.0
|
|
pkgrel=1
|
|
pkgdesc="Linux kernel trace file system library"
|
|
url="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
asciidoc
|
|
bison
|
|
flex
|
|
libtraceevent-dev
|
|
meson
|
|
xmlto
|
|
"
|
|
checkdepends="cunit-dev"
|
|
subpackages="$pkgname-dev $pkgname-utils"
|
|
source="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/$pkgname-$pkgver.tar.gz
|
|
makefile.patch
|
|
"
|
|
options="!check" # fail to start, but exit 0
|
|
|
|
build() {
|
|
abuild-meson \
|
|
--default-library=shared \
|
|
-Db_lto=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
utils() {
|
|
pkgdesc="$pkgdesc (utils)"
|
|
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
8b95c798a9013c0278da1c68ab4625446e1cc9d437eed91a6ce16660e7787f0af04ab65ce0dba536039f2facca39c50df5e45335b1af630e7bcce70b584e2f0c libtracefs-1.7.0.tar.gz
|
|
575cde93b1118afc72ba4fe0df976ba7238033c9bb2b365bf295da7c057bf7e1fa72dd02be55963697db92bb0e96ffc8ed4f5b127ffa84468a6c0b4f478390f3 makefile.patch
|
|
"
|