termux-packages/packages/strace/build.sh
Termux Github Actions ae71ef45b5 strace: update to 5.10
2020-12-18 20:12:03 +00:00

22 lines
707 B
Bash

TERMUX_PKG_HOMEPAGE=https://strace.io/
TERMUX_PKG_DESCRIPTION="Debugging utility to monitor system calls and signals received"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=5.10
TERMUX_PKG_SRCURL=https://github.com/strace/strace/releases/download/v$TERMUX_PKG_VERSION/strace-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=fe3982ea4cd9aeb3b4ba35f6279f0b577a37175d3282be24b9a5537b56b8f01c
TERMUX_PKG_DEPENDS="libdw"
# Without st_cv_m32_mpers=no the build fails if gawk is installed.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
st_cv_m32_mpers=no
--enable-mpers=no
--with-libdw
"
# This is a perl script.
TERMUX_PKG_RM_AFTER_INSTALL="bin/strace-graph"
termux_step_pre_configure() {
CPPFLAGS+=" -Dfputs_unlocked=fputs"
}