void-packages/srcpkgs/strace/template
2020-06-08 07:41:21 +02:00

20 lines
682 B
Bash

# Template file for 'strace'
pkgname=strace
version=5.7
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=b284b59f9bcd95b9728cea5bd5c0edc5ebe360af73dc76fbf6334f11c777ccd8
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