getmail: Switch to fossies.org for tarball
[termux-packages] / packages / radare2 / build.sh
CommitLineData
9fde9f6c 1TERMUX_PKG_HOMEPAGE=https://rada.re
8986bfde 2TERMUX_PKG_DESCRIPTION="Advanced Hexadecimal Editor"
1be3477e 3TERMUX_PKG_VERSION=1.5.0
d5d2237e 4TERMUX_PKG_REVISION=1
8986bfde 5TERMUX_PKG_SRCURL=https://github.com/radare/radare2/archive/$TERMUX_PKG_VERSION.tar.gz
eb3f613a 6TERMUX_PKG_SHA256=c6b465cb2f36a206d5e9380c0bcbb4c05ed5cb7995e554703206e0bbdc9c74a1
8986bfde 7TERMUX_PKG_FOLDERNAME="radare2-$TERMUX_PKG_VERSION"
8TERMUX_PKG_BUILD_IN_SRC="yes"
9TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-compiler=termux-host"
d7e3209c
FF
10
11termux_step_pre_configure() {
12 # Unset CPPFLAGS to avoid -I$TERMUX_PREFIX/include. This is because
13 # radare2 build will put it's own -I flags after ours, which causes
14 # problems due to name clashes (binutils header files).
15 unset CPPFLAGS
cc41dffd
FF
16
17 # Remove old libs which may mess with new build:
18 rm -f $TERMUX_PREFIX/lib/libr_*
d7e3209c 19}