27afd9e665
Re-enable automatic updates after deleting github-projects.txt. %ci:no-build
26 lines
876 B
Bash
26 lines
876 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_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=5.14
|
|
TERMUX_PKG_SRCURL=https://github.com/strace/strace/releases/download/v$TERMUX_PKG_VERSION/strace-$TERMUX_PKG_VERSION.tar.xz
|
|
TERMUX_PKG_SHA256=901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
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() {
|
|
autoreconf # for configure.ac in 5.11fix.patch
|
|
CPPFLAGS+=" -Dfputs_unlocked=fputs -DPR_SET_VMA=0x53564d41"
|
|
# remove the -DPR_SET_VMA for >5.13
|
|
}
|