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