bitcoin.mk 907 B

1234567891011121314151617181920212223242526272829303132333435
  1. ################################################################################
  2. #
  3. # bitcoin
  4. #
  5. ################################################################################
  6. BITCOIN_VERSION = 0.16.3
  7. BITCOIN_SITE = $(call github,bitcoin,bitcoin,v$(BITCOIN_VERSION))
  8. BITCOIN_AUTORECONF = YES
  9. BITCOIN_LICENSE = MIT
  10. BITCOIN_LICENSE_FILES = COPYING
  11. BITCOIN_DEPENDENCIES = host-pkgconf boost openssl libevent
  12. BITCOIN_CONF_OPTS = \
  13. --disable-bench \
  14. --disable-wallet \
  15. --disable-tests \
  16. --with-boost-libdir=$(STAGING_DIR)/usr/lib/ \
  17. --disable-hardening \
  18. --without-gui
  19. ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
  20. BITCOIN_DEPENDENCIES += libminiupnpc
  21. BITCOIN_CONF_OPTS += --with-miniupnpc
  22. else
  23. BITCOIN_CONF_OPTS += --without-miniupnpc
  24. endif
  25. ifeq ($(BR2_PACKAGE_ZEROMQ),y)
  26. BITCOIN_DEPENDENCIES += zeromq
  27. BITCOIN_CONF_OPTS += --with-zmq
  28. else
  29. BITCOIN_CONF_OPTS += --without-zmq
  30. endif
  31. $(eval $(autotools-package))