New package: libbitcoin-consensus-3.5.0

closes #10572
This commit is contained in:
Andy Weidenbaum 2019-04-05 08:46:39 +11:00 committed by maxice8
parent 9acd9d47f2
commit 4f3af8358d
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
3 changed files with 38 additions and 0 deletions

View file

@ -3437,3 +3437,4 @@ libbitcoin-client.so.0 libbitcoin-client-3.5.0_1
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

View file

@ -0,0 +1 @@
libbitcoin-consensus

View file

@ -0,0 +1,36 @@
# Template file for 'libbitcoin-consensus'
pkgname=libbitcoin-consensus
version=3.5.0
revision=1
build_style=gnu-configure
configure_args="ax_cv_boost_unit_test_framework=no
--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 libbitcoin-secp256k1-devel"
short_desc="Bitcoin Consensus Library"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-consensus"
distfiles="https://github.com/libbitcoin/libbitcoin-consensus/archive/v${version}.tar.gz"
checksum=bb29761d4275a9c993151707557008b23572a3d9adecc0e36a3075cfb101dd1e
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-consensus-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
}
}