2018-09-28 15:59:21 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# bitcoin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-09-05 23:50:52 +02:00
|
|
|
BITCOIN_VERSION = 0.16.3
|
|
|
|
BITCOIN_SITE = $(call github,bitcoin,bitcoin,v$(BITCOIN_VERSION))
|
2018-09-28 15:59:21 +02:00
|
|
|
BITCOIN_AUTORECONF = YES
|
|
|
|
BITCOIN_LICENSE = MIT
|
|
|
|
BITCOIN_LICENSE_FILES = COPYING
|
2019-12-08 17:27:21 +01:00
|
|
|
BITCOIN_DEPENDENCIES = host-pkgconf boost openssl libevent
|
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/ \
|
|
|
|
--disable-hardening
|
|
|
|
|
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
|
|
|
|
|
2018-09-28 15:59:21 +02:00
|
|
|
$(eval $(autotools-package))
|