41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
|
# Template file for 'libbitcoin-node'
|
||
|
pkgname=libbitcoin-node
|
||
|
version=3.5.0
|
||
|
revision=1
|
||
|
archs="aarch64* ppc64* x86_64*"
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--with-bash-completiondir=/usr/share/bash-completion/completions
|
||
|
--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib
|
||
|
--with-boost=${XBPS_CROSS_BASE}/usr --with-gnu-ld"
|
||
|
hostmakedepends="autoconf automake libtool m4 pkg-config"
|
||
|
makedepends="bash-completion boost-devel icu-devel libbitcoin-blockchain-devel
|
||
|
libbitcoin-consensus-devel libbitcoin-database-devel libbitcoin-network-devel
|
||
|
libbitcoin-secp256k1-devel libbitcoin-system-devel libpng-devel qrencode-devel"
|
||
|
short_desc="Bitcoin Full Node"
|
||
|
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
|
||
|
license="AGPL-3.0-or-later"
|
||
|
homepage="https://github.com/libbitcoin/libbitcoin-node"
|
||
|
distfiles="https://github.com/libbitcoin/libbitcoin-node/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||
|
checksum="e3a0a96155ca93aa6cba75789c18419f40686a69cbd40c77aa77ca84ccc43cab"
|
||
|
conf_files="/etc/libbitcoin/bn.cfg"
|
||
|
|
||
|
pre_configure() {
|
||
|
./autogen.sh
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense COPYING
|
||
|
vdoc README.md
|
||
|
}
|
||
|
|
||
|
libbitcoin-node-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove "usr/lib/*.a"
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove usr/lib/pkgconfig
|
||
|
}
|
||
|
}
|