70acf563aa
cpe:2.3🅰️bitcoin:bitcoin_core is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Abitcoin%3Abitcoin_core Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
39 lines
1023 B
Makefile
39 lines
1023 B
Makefile
################################################################################
|
|
#
|
|
# bitcoin
|
|
#
|
|
################################################################################
|
|
|
|
BITCOIN_VERSION = 0.21.0
|
|
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
|
|
BITCOIN_AUTORECONF = YES
|
|
BITCOIN_LICENSE = MIT
|
|
BITCOIN_LICENSE_FILES = COPYING
|
|
BITCOIN_CPE_ID_VENDOR = bitcoin
|
|
BITCOIN_CPE_ID_PRODUCT = bitcoin_core
|
|
BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
|
|
BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
|
|
BITCOIN_CONF_OPTS = \
|
|
--disable-bench \
|
|
--disable-wallet \
|
|
--disable-tests \
|
|
--with-boost-libdir=$(STAGING_DIR)/usr/lib/ \
|
|
--disable-hardening \
|
|
--without-gui
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
|
|
BITCOIN_DEPENDENCIES += libminiupnpc
|
|
BITCOIN_CONF_OPTS += --with-miniupnpc
|
|
else
|
|
BITCOIN_CONF_OPTS += --without-miniupnpc
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZEROMQ),y)
|
|
BITCOIN_DEPENDENCIES += zeromq
|
|
BITCOIN_CONF_OPTS += --with-zmq
|
|
else
|
|
BITCOIN_CONF_OPTS += --without-zmq
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|