ecj: Switch to working src url
[termux-packages] / packages / ltrace / build.sh
... / ...
CommitLineData
1TERMUX_PKG_HOMEPAGE=http://www.ltrace.org/
2TERMUX_PKG_DESCRIPTION="Tracks runtime library calls in dynamically linked programs"
3TERMUX_PKG_VERSION=0.7.3.20160411
4TERMUX_PKG_REVISION=1
5TERMUX_PKG_DEPENDS="elfutils"
6local _COMMIT=2def9f1217374cc8371105993003b2c663aefda7
7TERMUX_PKG_SRCURL=https://github.com/dkogan/ltrace/archive/${_COMMIT}.zip
8TERMUX_PKG_SHA256=d089ae8affd8af782c12aed7ba97f44c7f55b60033ec78ab07e415e7b091a90c
9TERMUX_PKG_FOLDERNAME=ltrace-${_COMMIT}
10TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
11--disable-werror
12--without-libunwind
13ac_cv_host=$TERMUX_ARCH-generic-linux-gnu
14"
15
16termux_step_pre_configure () {
17 # rindex is an obsolete version of strrchr which is not available in Android:
18 CFLAGS+=" -Drindex=strrchr"
19
20 autoreconf -i ../src
21}