# Template file for 'strace' pkgname=strace version=4.12 revision=1 build_style=gnu-configure configure_args="--enable-libunwind" makedepends="libunwind-devel" short_desc="A System Call Tracer" maintainer="Juan RP " homepage="http://sourceforge.net/projects/strace" license="BSD" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=51144b78cb9ba22211b95a5aafe0af3694c0d575b25975d80ca9dd4dfd7c1e59 case "$XBPS_TARGET_MACHINE" in aarch64*) configure_args=; makedepends= ;; esac pre_configure() { sed -i -e 's/include /include /g' configure sed -i -e 's/include /include /g' configure case "$XBPS_TARGET_MACHINE" in *-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";; esac } post_install() { vlicense COPYING }