termux-packages/packages/ltrace/build.sh

22 lines
671 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=http://www.ltrace.org/
TERMUX_PKG_DESCRIPTION="Tracks runtime library calls in dynamically linked programs"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1:0.7.3
TERMUX_PKG_SRCURL=https://github.com/dkogan/ltrace/archive/82c66409c7a93ca6ad2e4563ef030dfb7e6df4d4.tar.gz
TERMUX_PKG_SHA256=4aecf69e4a33331aed1e50ce4907e73a98cbccc4835febc3473863474304d547
2019-06-19 23:31:13 +02:00
TERMUX_PKG_DEPENDS="libc++, libelf"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-werror
--without-libunwind
ac_cv_host=$TERMUX_ARCH-generic-linux-gnu
"
termux_step_pre_configure() {
if [ "$TERMUX_ARCH" == "arm" ]; then
CFLAGS+=" -DSHT_ARM_ATTRIBUTES=0x70000000+3"
fi
2016-09-04 00:45:08 +02:00
autoreconf -i ../src
}