void-packages/srcpkgs/libbitcoin-system/template

38 lines
1.1 KiB
Bash

# Template file for 'libbitcoin-system'
pkgname=libbitcoin-system
version=3.6.0
revision=9
build_style=gnu-configure
configure_args="--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib
--with-boost=${XBPS_CROSS_BASE}/usr --with-gnu-ld --with-icu --with-png
--with-qrencode --without-examples"
hostmakedepends="autoconf automake libtool m4 pkg-config"
makedepends="boost-devel icu-devel libbitcoin-secp256k1-devel libpng-devel
qrencode-devel"
short_desc="Bitcoin Cross-Platform C++ Development Toolkit"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-system"
distfiles="https://github.com/libbitcoin/libbitcoin-system/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=5bcc4c31b53acbc9c0d151ace95d684909db4bf946f8d724f76c711934c6775c
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-system-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
}
}