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."
|
|
|
|
TERMUX_PKG_VERSION=3.11.0
|
|
|
|
TERMUX_PKG_SRCURL=http://valgrind.org/downloads/valgrind-${TERMUX_PKG_VERSION}.tar.bz2
|
2016-07-28 23:50:42 +02:00
|
|
|
# TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/valgrind-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-tmpdir=$TERMUX_PREFIX/tmp"
|
2016-08-02 13:41:37 +02:00
|
|
|
# - Does not build on arm due to https://github.com/android-ndk/ndk/issues/132 (fixed in ndk r13)
|
|
|
|
# - Does not build on x86_64 due to lacking upstream support of that arch on android.
|
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, x86_64"
|
2016-07-26 23:54:55 +02:00
|
|
|
|
|
|
|
if [ "$TERMUX_ARCH" == "arm" ]; then
|
|
|
|
# valgrind doesn't like arm; armv7 works, though.
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --host=armv7-linux-androideabi"
|
|
|
|
fi
|
|
|
|
|