termux-packages/packages/strace/build.sh

18 lines
677 B
Bash
Raw Normal View History

2017-01-15 19:40:49 +01:00
TERMUX_PKG_HOMEPAGE=https://strace.io/
2018-07-11 10:35:45 +02:00
TERMUX_PKG_DESCRIPTION="Debugging utility to monitor system calls and signals received"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD"
2020-04-14 21:05:50 +02:00
TERMUX_PKG_VERSION=5.6
2018-10-14 20:30:16 +02:00
TERMUX_PKG_SRCURL=https://github.com/strace/strace/releases/download/v$TERMUX_PKG_VERSION/strace-$TERMUX_PKG_VERSION.tar.xz
2020-04-14 21:05:50 +02:00
TERMUX_PKG_SHA256=189968eeae06ed9e20166ec55a830943c84374676a457c9fe010edc7541f1b01
2015-06-13 01:03:31 +02:00
TERMUX_PKG_RM_AFTER_INSTALL=bin/strace-graph # This is a perl script
# Without st_cv_m32_mpers=no the build fails if gawk is installed.
2018-05-19 02:57:29 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
st_cv_m32_mpers=no
--enable-mpers=no
2018-07-11 11:23:53 +02:00
--without-libdw
2018-05-19 02:57:29 +02:00
"
termux_step_pre_configure() {
CPPFLAGS+=" -Dfputs_unlocked=fputs"
}