void-packages/srcpkgs/libbitcoin-server/template

43 lines
1.4 KiB
Bash

# Template file for 'libbitcoin-server'
pkgname=libbitcoin-server
version=3.5.0
revision=2
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-node-devel libbitcoin-protocol-devel libbitcoin-secp256k1-devel
libbitcoin-system-devel libpng-devel libsodium-devel qrencode-devel
zeromq-devel"
short_desc="Bitcoin Full Node and Query Server"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-server"
distfiles="https://github.com/libbitcoin/libbitcoin-server/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum="37ef8d572fb7400565655501ffdea5d07a1de10f3d9fa823d33e2bf68ef8c3ce"
conf_files="/etc/libbitcoin/bs.cfg"
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-server-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
}
}