New package: libbitcoin-server-3.5.0

This commit is contained in:
Andy Weidenbaum 2019-04-05 11:48:59 +11:00 committed by maxice8
parent adf346f2b6
commit 11b7fca0c3
3 changed files with 44 additions and 0 deletions

View file

@ -3441,3 +3441,4 @@ libbitcoin-consensus.so.0 libbitcoin-consensus-3.5.0_1
libbitcoin-database.so.0 libbitcoin-database-3.5.0_1
libbitcoin-blockchain.so.0 libbitcoin-blockchain-3.5.0_1
libbitcoin-node.so.0 libbitcoin-node-3.5.0_1
libbitcoin-server.so.0 libbitcoin-server-3.5.0_1

View file

@ -0,0 +1 @@
libbitcoin-server

View file

@ -0,0 +1,42 @@
# Template file for 'libbitcoin-server'
pkgname=libbitcoin-server
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-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
}
}