void-packages/srcpkgs/strace/template
Piraty 767174dba3 strace: update to 5.6.
* libunwind now available on aarch64-musl
* drop pre_configure, all fixups are long obsolete (see CHANGELOG)
2020-04-23 13:11:58 +02:00

19 lines
682 B
Bash

# Template file for 'strace'
pkgname=strace
version=5.6
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=189968eeae06ed9e20166ec55a830943c84374676a457c9fe010edc7541f1b01
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