From 44a67746141467788a8c64a131581b10197e9a75 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 20 Dec 2022 14:41:44 -0500 Subject: [PATCH] +bitcoin --- projects/bitcoin.org/package.yml | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 projects/bitcoin.org/package.yml diff --git a/projects/bitcoin.org/package.yml b/projects/bitcoin.org/package.yml new file mode 100644 index 00000000..58a80463 --- /dev/null +++ b/projects/bitcoin.org/package.yml @@ -0,0 +1,41 @@ +distributable: + url: https://bitcoincore.org/bin/bitcoin-core-{{version}}/bitcoin-{{version}}.tar.gz + strip-components: 1 + +versions: + github: bitcoin/bitcoin + strip: /^Bitcoin Core / + +dependencies: + oracle.com/berkeley-db: ^18 + boost.org: ^1 + libevent.org: ^2 + zeromq.org: ^4 + sqlite.org: ^3 + +build: + dependencies: + gnu.org/autoconf: ^2 + gnu.org/automake: ^1 + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + freedesktop.org/pkg-config: ^0.29 + gnu.org/libtool: ^2 + script: | + ./autogen.sh + ./configure $ARGS + make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix={{prefix}} + - --disable-debug + +provides: + - bin/bitcoin-cli + - bin/bitcoin-tx + - bin/bitcoin-util + - bin/bitcoin-wallet + - bin/bitcoind + +test: + test_bitcoin \ No newline at end of file