termux-packages/packages/valgrind/build.sh

16 lines
745 B
Bash
Raw Normal View History

2016-07-26 23:54:55 +02:00
TERMUX_PKG_HOMEPAGE=http://valgrind.org/
TERMUX_PKG_DESCRIPTION="Valgrind is an instrumentation framework for building dynamic analysis tools."
2016-11-26 21:15:21 +01:00
TERMUX_PKG_VERSION=3.12.0
2016-07-26 23:54:55 +02:00
TERMUX_PKG_SRCURL=http://valgrind.org/downloads/valgrind-${TERMUX_PKG_VERSION}.tar.bz2
2016-11-26 21:15:21 +01:00
TERMUX_PKG_SHA256=67ca4395b2527247780f36148b084f5743a68ab0c850cb43e4a5b4b012cf76a1
2016-07-28 23:50:42 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-tmpdir=$TERMUX_PREFIX/tmp"
# - Does not build on x86_64 due to lacking upstream support of that arch on android.
# See https://bugs.kde.org/show_bug.cgi?id=348342
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
2016-07-26 23:54:55 +02:00
if [ "$TERMUX_ARCH" == "arm" ]; then
2016-11-26 21:15:21 +01:00
# valgrind doesn't like arm; armv7 works, though.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --host=armv7-linux-androideabi"
2016-07-26 23:54:55 +02:00
fi