void-packages/srcpkgs/libbitcoin-network/template

37 lines
1.1 KiB
Bash

# Template file for 'libbitcoin-network'
pkgname=libbitcoin-network
version=3.6.0
revision=5
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 P2P Network Library"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-network"
distfiles="https://github.com/libbitcoin/libbitcoin-network/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=68d36577d44f7319280c446a5327a072eb20749dfa859c0e1ac768304c9dd93a
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-network-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
}
}