# Template file for 'strace' pkgname=strace version=4.18 revision=1 build_style=gnu-configure configure_args="--with-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=89ad887c1e6226bdbca8da31d589cadea4be0744b142eb47b768086c937fca08 case "$XBPS_TARGET_MACHINE" in aarch64-musl) 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 }