mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Maintainer: Fiona Klute <fiona.klute@gmx.de>
|
|
pkgname=trace-cmd
|
|
pkgver=3.3
|
|
pkgrel=0
|
|
pkgdesc="Tool to interact with Ftrace Linux kernel tracer"
|
|
url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/"
|
|
arch="all"
|
|
license="GPL-2.0-only AND LGPL-2.1-only"
|
|
makedepends="
|
|
asciidoc
|
|
audit-dev
|
|
gcc
|
|
libtraceevent-dev
|
|
libtracefs-dev
|
|
meson
|
|
pkgconf
|
|
source-highlight
|
|
xmlto
|
|
zstd-dev
|
|
"
|
|
subpackages="
|
|
$pkgname-doc
|
|
$pkgname-bash-completion
|
|
"
|
|
source="
|
|
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v$pkgver.tar.gz
|
|
0001-trace-cmd-utest-include-libgen.h-for-POSIX-basename.patch
|
|
"
|
|
# trace-cmd tests would need to run as root, because they try to run
|
|
# actual traces and fail if they can't
|
|
options="
|
|
!check
|
|
"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson -Db_colorout=auto . output
|
|
meson compile -C output
|
|
meson compile -C output docs
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
0857bea0bceb196bdb44164eefb8a05384c640f5a4d569dcbf26d80302b21bf17880eaba07c3da81c8812abe0f451219c26ba02b7bf9103eb1d0e88f1da84703 trace-cmd-v3.3.tar.gz
|
|
d0ceb422b4d108f42666c276d20e243c8f73cccf95e8e9cbd942e73cc122d5c514ec31544014a3d6f1d1c26d1e773e96d0f68985d271c2ca95fda3c218ded05f 0001-trace-cmd-utest-include-libgen.h-for-POSIX-basename.patch
|
|
"
|