28 lines
890 B
Bash
28 lines
890 B
Bash
TERMUX_PKG_HOMEPAGE=https://bitcoincore.org/
|
|
TERMUX_PKG_DESCRIPTION="Bitcoin Core"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=22.0
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://github.com/bitcoin/bitcoin/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=d0e9d089b57048b1555efa7cd5a63a7ed042482045f6f33402b1df425bf9613b
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_SERVICE_SCRIPT=("bitcoind" 'exec bitcoind 2>&1')
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--disable-tests
|
|
--with-daemon
|
|
--with-gui=no
|
|
--without-libs
|
|
--prefix=${TERMUX_PKG_SRCDIR}/depends/$TERMUX_HOST_PLATFORM
|
|
--bindir=$TERMUX_PREFIX/bin
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
export ANDROID_TOOLCHAIN_BIN="$TERMUX_STANDALONE_TOOLCHAIN/bin"
|
|
(cd depends && make HOST=$TERMUX_HOST_PLATFORM NO_QT=1 -j $TERMUX_MAKE_PROCESSES)
|
|
./autogen.sh
|
|
}
|