From aa856771c75435b401091231c71841dc09fbac9f Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Wed, 15 Aug 2018 17:13:52 -0400 Subject: [PATCH] New package: libbitcoin-explorer-3.5.0 closes #1796 --- common/shlibs | 1 + srcpkgs/libbitcoin-explorer-devel | 1 + srcpkgs/libbitcoin-explorer/template | 40 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 120000 srcpkgs/libbitcoin-explorer-devel create mode 100644 srcpkgs/libbitcoin-explorer/template diff --git a/common/shlibs b/common/shlibs index 450046b5887..b6759260ca8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3435,3 +3435,4 @@ libbitcoin.so.0 libbitcoin-system-3.5.0_1 libbitcoin-protocol.so.0 libbitcoin-protocol-3.5.0_1 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 diff --git a/srcpkgs/libbitcoin-explorer-devel b/srcpkgs/libbitcoin-explorer-devel new file mode 120000 index 00000000000..f064c373870 --- /dev/null +++ b/srcpkgs/libbitcoin-explorer-devel @@ -0,0 +1 @@ +libbitcoin-explorer \ No newline at end of file diff --git a/srcpkgs/libbitcoin-explorer/template b/srcpkgs/libbitcoin-explorer/template new file mode 100644 index 00000000000..5ed222866f9 --- /dev/null +++ b/srcpkgs/libbitcoin-explorer/template @@ -0,0 +1,40 @@ +# Template file for 'libbitcoin-explorer' +pkgname=libbitcoin-explorer +version=3.5.0 +revision=1 +build_style=gnu-configure +configure_args="--with-bash-completiondir=/usr/share/bash-completion/completions + --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="bash-completion boost-devel icu-devel libbitcoin-client-devel + libbitcoin-network-devel libbitcoin-protocol-devel libbitcoin-secp256k1-devel + libbitcoin-system-devel libpng-devel libsodium-devel qrencode-devel + zeromq-devel" +short_desc="Bitcoin Command Line Tool" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-explorer" +distfiles="https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=630cffd577c0d10345b44ce8160f4604519b0ca69bf201f524f104c207b930aa +conf_files="/etc/libbitcoin/bx.cfg" + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-explorer-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 + } +}