# SliTaz package receipt. PACKAGE="strace" VERSION="5.18" CATEGORY="development" TAGS="analysis debugger diagnostic" SHORT_DESC="System call tracer." MAINTAINER="erjo@slitaz.org" LICENSE="BSD" WEB_SITE="https://strace.io/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" SUGGESTED="perl" # for strace-graph current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install cp -a src/strace-graph $install/usr/bin find $install -name strace.1 -exec gzip -9 \{\} \; } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }