void-packages/srcpkgs/libbitcoin-database/template

38 lines
1.1 KiB
Bash

# Template file for 'libbitcoin-database'
pkgname=libbitcoin-database
version=3.6.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=d65b35745091b93feed61c5665b5a07b404b578e2582640e93c1a01f6b746f5a
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
}
}