mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
6fc3a63155
change gcc dep to libstdc++ only
46 lines
1,022 B
YAML
46 lines
1,022 B
YAML
distributable:
|
|
url: https://bitcoincore.org/bin/bitcoin-core-{{version.raw}}/bitcoin-{{version.raw}}.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
|
|
linux:
|
|
gnu.org/gcc/libstdcxx: '*' # c++20 support and libc++
|
|
|
|
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++
|
|
script:
|
|
- ./autogen.sh
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
linux:
|
|
LDFLAGS: $LDFLAGS -lstdc++fs
|
|
ARGS:
|
|
- --prefix={{prefix}}
|
|
- --disable-debug
|
|
- --disable-tests # needs: `hexedit`
|
|
- --disable-bench # fails: linux/aarch64/v24.0.1
|
|
|
|
provides:
|
|
- bin/bitcoin-cli
|
|
- bin/bitcoin-tx
|
|
- bin/bitcoin-util
|
|
- bin/bitcoin-wallet
|
|
- bin/bitcoind
|
|
|
|
test: bitcoind -version
|