pantry/projects/bitcoin.org/package.yml

47 lines
1,022 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
2024-04-17 01:30:34 +03:00
linux:
gnu.org/gcc/libstdcxx: '*' # c++20 support and libc++
2022-12-20 22:41:44 +03:00
build:
dependencies:
gnu.org/autoconf: ^2
gnu.org/automake: ^1
freedesktop.org/pkg-config: ^0.29
gnu.org/libtool: ^2
linux:
gnu.org/gcc: '*' # c++20 support and libc++
2024-04-17 01:30:34 +03:00
script:
- ./autogen.sh
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
2022-12-20 22:41:44 +03:00
env:
2023-12-08 01:28:53 +03:00
linux:
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