From 1130ec8b075e4ad94537133946e4721783113756 Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Wed, 15 Aug 2018 17:12:12 -0400 Subject: [PATCH] New package: libbitcoin-protocol-3.5.0 --- common/shlibs | 1 + srcpkgs/libbitcoin-protocol-devel | 1 + srcpkgs/libbitcoin-protocol/template | 37 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 120000 srcpkgs/libbitcoin-protocol-devel create mode 100644 srcpkgs/libbitcoin-protocol/template diff --git a/common/shlibs b/common/shlibs index 6d402f3286..5a8a085d54 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3432,3 +3432,4 @@ libclthreads.so.2 clthreads-2.4.2_1 libclxclient.so.3 clxclient-3.9.2_1 libsecp256k1.so.0 libbitcoin-secp256k1-0.1.0.13_1 libbitcoin.so.0 libbitcoin-system-3.5.0_1 +libbitcoin-protocol.so.0 libbitcoin-protocol-3.5.0_1 diff --git a/srcpkgs/libbitcoin-protocol-devel b/srcpkgs/libbitcoin-protocol-devel new file mode 120000 index 0000000000..9b77587743 --- /dev/null +++ b/srcpkgs/libbitcoin-protocol-devel @@ -0,0 +1 @@ +libbitcoin-protocol \ No newline at end of file diff --git a/srcpkgs/libbitcoin-protocol/template b/srcpkgs/libbitcoin-protocol/template new file mode 100644 index 0000000000..09472e6356 --- /dev/null +++ b/srcpkgs/libbitcoin-protocol/template @@ -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 " +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 + } +}