pantry/projects/bitcoin.org/package.yml

46 lines
941 B
YAML
Raw Normal View History

2022-12-20 22:41:44 +03:00
distributable:
2023-05-18 18:29:22 +03:00
url: https://bitcoincore.org/bin/bitcoin-core-{{version.raw}}/bitcoin-{{version.raw}}.tar.gz
2022-12-20 22:41:44 +03:00
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
freedesktop.org/pkg-config: ^0.29
gnu.org/libtool: ^2
script: |
./autogen.sh
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
2023-12-08 01:28:53 +03:00
linux:
CC: clang
CXX: clang++
LD: clang
LDFLAGS: $LDFLAGS -lstdc++fs
2022-12-20 22:41:44 +03:00
ARGS:
- --prefix={{prefix}}
- --disable-debug
2023-12-08 01:28:53 +03:00
- --disable-tests # needs: `hexedit`
- --disable-bench # fails: linux/aarch64/v24.0.1
2022-12-20 22:41:44 +03:00
provides:
- bin/bitcoin-cli
- bin/bitcoin-tx
- bin/bitcoin-util
- bin/bitcoin-wallet
- bin/bitcoind
2023-12-08 01:28:53 +03:00
test: bitcoind -version