void-packages/srcpkgs/libbitcoin-blockchain/template

39 lines
1.2 KiB
Bash

# Template file for 'libbitcoin-blockchain'
pkgname=libbitcoin-blockchain
version=3.6.0
revision=4
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-consensus-devel
libbitcoin-database-devel libbitcoin-secp256k1-devel libbitcoin-system-devel
libpng-devel qrencode-devel"
short_desc="Bitcoin Blockchain Library"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-blockchain"
distfiles="https://github.com/libbitcoin/libbitcoin-blockchain/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=18c52ebda4148ab9e6dec62ee8c2d7826b60868f82710f21e40ff0131bc659e0
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-blockchain-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
}
}