void-packages/srcpkgs/strace/template
2020-09-28 21:21:19 -04:00

20 lines
682 B
Bash

# Template file for 'strace'
pkgname=strace
version=5.9
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=39473eb8465546c3e940fb663cb381eba5613160c7302794699d194a4d5d66d9
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