void-packages/srcpkgs/libbitcoin-server/template

43 lines
1.4 KiB
Bash

# Template file for 'libbitcoin-server'
pkgname=libbitcoin-server
version=3.6.0
revision=9
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 <atweiden@tutanota.de>"
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=283fa7572fcde70a488c93e8298e57f7f9a8e8403e209ac232549b2c433674e1
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
}
}