2018-09-28 15:59:21 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# bitcoin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-03 11:32:40 +02:00
|
|
|
BITCOIN_VERSION = 0.21.2
|
2020-01-22 22:26:37 +01:00
|
|
|
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
|
2018-09-28 15:59:21 +02:00
|
|
|
BITCOIN_AUTORECONF = YES
|
|
|
|
BITCOIN_LICENSE = MIT
|
|
|
|
BITCOIN_LICENSE_FILES = COPYING
|
2021-01-30 14:31:15 +01:00
|
|
|
BITCOIN_CPE_ID_VENDOR = bitcoin
|
|
|
|
BITCOIN_CPE_ID_PRODUCT = bitcoin_core
|
2020-11-09 21:40:40 +01:00
|
|
|
BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
|
2020-11-10 21:17:07 +01:00
|
|
|
BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
|
2018-09-28 15:59:21 +02:00
|
|
|
BITCOIN_CONF_OPTS = \
|
2019-12-08 17:27:22 +01:00
|
|
|
--disable-bench \
|
2018-09-28 15:59:21 +02:00
|
|
|
--disable-wallet \
|
|
|
|
--disable-tests \
|
|
|
|
--with-boost-libdir=$(STAGING_DIR)/usr/lib/ \
|
2019-12-08 17:27:24 +01:00
|
|
|
--disable-hardening \
|
|
|
|
--without-gui
|
2018-09-28 15:59:21 +02:00
|
|
|
|
2019-12-08 17:27:23 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
|
|
|
|
BITCOIN_DEPENDENCIES += libminiupnpc
|
|
|
|
BITCOIN_CONF_OPTS += --with-miniupnpc
|
|
|
|
else
|
|
|
|
BITCOIN_CONF_OPTS += --without-miniupnpc
|
|
|
|
endif
|
|
|
|
|
2019-12-08 17:27:25 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
|
|
|
|
BITCOIN_DEPENDENCIES += zeromq
|
|
|
|
BITCOIN_CONF_OPTS += --with-zmq
|
|
|
|
else
|
|
|
|
BITCOIN_CONF_OPTS += --without-zmq
|
|
|
|
endif
|
|
|
|
|
2018-09-28 15:59:21 +02:00
|
|
|
$(eval $(autotools-package))
|