2019-09-13 14:32:47 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://bitcoincore.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Bitcoin Core"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-09-20 18:15:35 +02:00
|
|
|
TERMUX_PKG_VERSION=22.0
|
2021-05-12 15:30:36 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-09-13 14:32:47 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/bitcoin/bitcoin/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2021-09-20 18:15:35 +02:00
|
|
|
TERMUX_PKG_SHA256=d0e9d089b57048b1555efa7cd5a63a7ed042482045f6f33402b1df425bf9613b
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-05-12 15:30:36 +02:00
|
|
|
TERMUX_PKG_SERVICE_SCRIPT=("bitcoind" 'exec bitcoind 2>&1')
|
2019-09-13 14:32:47 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-09-20 19:18:50 +02:00
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
|
2019-09-13 14:32:47 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-tests
|
|
|
|
--with-daemon
|
|
|
|
--with-gui=no
|
|
|
|
--without-libs
|
2020-01-13 00:38:25 +01:00
|
|
|
--prefix=${TERMUX_PKG_SRCDIR}/depends/$TERMUX_HOST_PLATFORM
|
|
|
|
--bindir=$TERMUX_PREFIX/bin
|
2019-09-13 14:32:47 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2020-06-02 19:12:08 +02:00
|
|
|
export ANDROID_TOOLCHAIN_BIN="$TERMUX_STANDALONE_TOOLCHAIN/bin"
|
2020-01-13 00:38:25 +01:00
|
|
|
(cd depends && make HOST=$TERMUX_HOST_PLATFORM NO_QT=1 -j $TERMUX_MAKE_PROCESSES)
|
|
|
|
./autogen.sh
|
2019-09-13 14:32:47 +02:00
|
|
|
}
|