New package: libbitcoin-protocol-3.5.0

This commit is contained in:
Andy Weidenbaum 2018-08-15 17:12:12 -04:00 committed by maxice8
parent b1690da6c0
commit 1130ec8b07
3 changed files with 39 additions and 0 deletions

View File

@ -3432,3 +3432,4 @@ libclthreads.so.2 clthreads-2.4.2_1
libclxclient.so.3 clxclient-3.9.2_1 libclxclient.so.3 clxclient-3.9.2_1
libsecp256k1.so.0 libbitcoin-secp256k1-0.1.0.13_1 libsecp256k1.so.0 libbitcoin-secp256k1-0.1.0.13_1
libbitcoin.so.0 libbitcoin-system-3.5.0_1 libbitcoin.so.0 libbitcoin-system-3.5.0_1
libbitcoin-protocol.so.0 libbitcoin-protocol-3.5.0_1

View File

@ -0,0 +1 @@
libbitcoin-protocol

View File

@ -0,0 +1,37 @@
# Template file for 'libbitcoin-protocol'
pkgname=libbitcoin-protocol
version=3.5.0
revision=1
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 libsodium-devel qrencode-devel
zeromq-devel"
short_desc="Bitcoin Blockchain Query Protocol"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="AGPL-3.0-or-later"
homepage="https://github.com/libbitcoin/libbitcoin-protocol"
distfiles="https://github.com/libbitcoin/libbitcoin-protocol/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=9deac6908489e2d59fb9f89c895c49b00e01902d5fdb661f67d4dbe45b22af76
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-protocol-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
}
}