From: Fabio Urquiza <fabiorush@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] bitcoin: new package
Date: Fri, 28 Sep 2018 10:59:21 -0300 [thread overview]
Message-ID: <1538143163-20596-3-git-send-email-fabiorush@gmail.com> (raw)
In-Reply-To: <1538143163-20596-1-git-send-email-fabiorush@gmail.com>
Bitcoin Core is an open source project which maintains and releases Bitcoin
client software called ?Bitcoin Core?.
Signed-off-by: Fabio Urquiza <fabiorush@gmail.com>
---
package/Config.in | 4 ++++
package/bitcoin/Config.in | 26 ++++++++++++++++++++++++++
package/bitcoin/bitcoin.hash | 3 +++
package/bitcoin/bitcoin.mk | 17 +++++++++++++++++
4 files changed, 50 insertions(+)
create mode 100644 package/bitcoin/Config.in
create mode 100644 package/bitcoin/bitcoin.hash
create mode 100644 package/bitcoin/bitcoin.mk
diff --git a/package/Config.in b/package/Config.in
index 2810d04..796383a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1971,6 +1971,10 @@ endif
source "package/xtables-addons/Config.in"
source "package/znc/Config.in"
+menu "Blockchain Applications"
+ source "package/bitcoin/Config.in"
+endmenu
+
endmenu
menu "Package managers"
diff --git a/package/bitcoin/Config.in b/package/bitcoin/Config.in
new file mode 100644
index 0000000..cef0e73
--- /dev/null
+++ b/package/bitcoin/Config.in
@@ -0,0 +1,26 @@
+config BR2_PACKAGE_BITCOIN
+ bool "bitcoin"
+ select BR2_TOOLCHAIN_BUILDROOT_USE_SSP
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_BOOST
+ select BR2_PACKAGE_BOOST_SYSTEM
+ select BR2_PACKAGE_BOOST_FILESYSTEM
+ select BR2_PACKAGE_BOOST_THREAD
+ select BR2_PACKAGE_BOOST_CHRONO
+ select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_LIBEVENT
+ help
+ Bitcoin Core is an open source project which maintains and
+ releases Bitcoin client software called ?Bitcoin Core?.
+
+ It is a direct descendant of the original Bitcoin software
+ client released by Satoshi Nakamoto after he published the
+ famous Bitcoin whitepaper.
+
+ Bitcoin Core consists of both ?full-node? software for fully
+ validating the blockchain as well as a bitcoin wallet. The
+ project also currently maintains related software such as the
+ cryptography library libsecp256k1 and others located at GitHub.
+
+ https://bitcoincore.org
diff --git a/package/bitcoin/bitcoin.hash b/package/bitcoin/bitcoin.hash
new file mode 100644
index 0000000..96edd22
--- /dev/null
+++ b/package/bitcoin/bitcoin.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 c8557b6df5f5cdf67b3ddf6fe501cfc6e0be698f175f16927dd08d6040df7d9f bitcoin-v0.16.3.tar.gz
+sha256 70223369f70e8cb550e75aa74eb86bfa5220fb09c0ba0549d91c36587d15d1a0 COPYING
diff --git a/package/bitcoin/bitcoin.mk b/package/bitcoin/bitcoin.mk
new file mode 100644
index 0000000..58ed17b
--- /dev/null
+++ b/package/bitcoin/bitcoin.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# bitcoin
+#
+################################################################################
+
+BITCOIN_VERSION = v0.16.3
+BITCOIN_SITE = $(call github,bitcoin,bitcoin,$(BITCOIN_VERSION))
+BITCOIN_AUTORECONF = YES
+BITCOIN_LICENSE = MIT
+BITCOIN_LICENSE_FILES = COPYING
+BITCOIN_CONF_OPTS = --disable-wallet --disable-tests
+BITCOIN_CONF_OPTS += --with-sysroot=$(STAGING_DIR)
+BITCOIN_CONF_OPTS += --with-boost-libdir=$(STAGING_DIR)/usr/lib/
+BITCOIN_DEPENDENCIES = boost openssl libevent
+
+$(eval $(autotools-package))
--
2.7.4
next prev parent reply other threads:[~2018-09-28 13:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 13:59 [Buildroot] [PATCH 0/4] Initial support to blockchain clients Fabio Urquiza
2018-09-28 13:59 ` [Buildroot] [PATCH 1/4] host-go-glide: new package Fabio Urquiza
2019-08-03 14:33 ` Yann E. MORIN
2018-09-28 13:59 ` Fabio Urquiza [this message]
2019-08-03 17:19 ` [Buildroot] [PATCH 2/4] bitcoin: " Thomas Petazzoni
2018-09-28 13:59 ` [Buildroot] [PATCH 3/4] btcd: " Fabio Urquiza
2018-10-12 16:09 ` Adam Duskett
2018-09-28 13:59 ` [Buildroot] [PATCH 4/4] neutrino: " Fabio Urquiza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1538143163-20596-3-git-send-email-fabiorush@gmail.com \
--to=fabiorush@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox