pantry/projects/elementsproject.org/package.yml
Jacob Heider 78f098d93c +elements
2023-04-24 19:23:56 -04:00

48 lines
987 B
YAML

distributable:
url: https://github.com/ElementsProject/elements/archive/refs/tags/elements-{{version}}.tar.gz
strip-components: 1
versions:
github: ElementsProject/elements
strip: /^elements-/
dependencies:
boost.org: ^1.64
libevent.org: '*'
oracle.com/berkeley-db: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/automake: '*'
gnu.org/autoconf: '*'
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '*'
linux:
github.com/util-linux/util-linux: '*' # hexdump
script: |
./autogen.sh
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
CXX: c++
ARGS:
- --prefix="{{prefix}}"
- --with-incompatible-bdb
- --enable-liquid
- --with-boost={{deps.boost.org.prefix}}
provides:
- bin/bench_bitcoin
- bin/elements-cli
- bin/elements-tx
- bin/elements-util
- bin/elements-wallet
- bin/elementsd
- bin/test_bitcoin
test:
elements-cli --version