2015-11-30 00:33:56 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.ltrace.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Tracks runtime library calls in dynamically linked programs"
|
2016-05-07 21:48:14 +02:00
|
|
|
TERMUX_PKG_VERSION=0.7.3.20160411
|
2016-08-11 01:45:41 +02:00
|
|
|
TERMUX_PKG_DEPENDS="elfutils"
|
2016-05-07 21:48:14 +02:00
|
|
|
_COMMIT=2def9f1217374cc8371105993003b2c663aefda7
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/dkogan/ltrace/archive/${_COMMIT}.zip
|
|
|
|
TERMUX_PKG_FOLDERNAME=ltrace-${_COMMIT}
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_host=$TERMUX_ARCH-generic-linux-gnu"
|
2017-01-15 21:30:34 +01:00
|
|
|
# Needed for clang build:
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-werror"
|
2016-05-07 21:48:14 +02:00
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
termux_step_pre_configure () {
|
2017-01-15 21:30:34 +01:00
|
|
|
#CFLAGS+=" -Wno-error=maybe-uninitialized"
|
|
|
|
# rindex is obsolete name of strrchr which is not available in Android:
|
2016-09-04 00:45:08 +02:00
|
|
|
CFLAGS+=" -Drindex=strrchr"
|
2016-05-07 21:48:14 +02:00
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
autoreconf -i ../src
|
|
|
|
}
|