void-packages/srcpkgs/strace/template

20 lines
682 B
Bash

# Template file for 'strace'
pkgname=strace
version=5.8
revision=1
build_style=gnu-configure
configure_args="--with-libunwind"
makedepends="libunwind-devel"
short_desc="System Call Tracer"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="LGPL-2.1-or-later"
homepage="https://strace.io/"
distfiles="https://github.com/strace/strace/releases/download/v${version}/strace-${version}.tar.xz"
checksum=df4a669f7fff9cc302784085bd4b72fab216a426a3f72c892b28a537b71e7aa9
case "$XBPS_TARGET_MACHINE" in
aarch64*|ppc64*) configure_args+=" --enable-mpers=no" ;;
# work around https://github.com/strace/strace/issues/133
x86_64-musl) configure_args+=" --enable-mpers=no" ;;
esac