New package: libbitcoin-database-3.5.0

This commit is contained in:
Andy Weidenbaum 2019-04-05 11:33:40 +11:00 committed by maxice8
parent 900afaaf7c
commit 7b3f5f43fb
3 changed files with 39 additions and 0 deletions

View file

@ -3438,3 +3438,4 @@ libbitcoin-network.so.0 libbitcoin-network-3.5.0_1
libbitcoin-explorer.so.0 libbitcoin-explorer-3.5.0_1
libltc.so.11 libltc-1.3.1_1
libbitcoin-consensus.so.0 libbitcoin-consensus-3.5.0_1
libbitcoin-database.so.0 libbitcoin-database-3.5.0_1

View file

@ -0,0 +1 @@
libbitcoin-database

View file

@ -0,0 +1,37 @@
# Template file for 'libbitcoin-database'
pkgname=libbitcoin-database
version=3.5.0
revision=1
archs="aarch64* ppc64* x86_64*"
build_style=gnu-configure
configure_args="--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="boost-devel icu-devel libbitcoin-secp256k1-devel
libbitcoin-system-devel libpng-devel qrencode-devel"
short_desc="Bitcoin High Performance Blockchain Database"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-database"
distfiles="https://github.com/libbitcoin/libbitcoin-database/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=376ab5abd8d7734a8b678030b9e997c4b1922e422f6e0a185d7daa3eb251db93
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-database-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
}
}