From c3d2f643fe2f6dd7c6df6db3002bbcbe42584d3a Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Fri, 5 Apr 2019 11:37:57 +1100 Subject: [PATCH] New package: libbitcoin-blockchain-3.5.0 --- common/shlibs | 1 + srcpkgs/libbitcoin-blockchain-devel | 1 + srcpkgs/libbitcoin-blockchain/template | 38 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 srcpkgs/libbitcoin-blockchain-devel create mode 100644 srcpkgs/libbitcoin-blockchain/template diff --git a/common/shlibs b/common/shlibs index f43af43629..25e5784116 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3439,3 +3439,4 @@ 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 libbitcoin-database.so.0 libbitcoin-database-3.5.0_1 +libbitcoin-blockchain.so.0 libbitcoin-blockchain-3.5.0_1 diff --git a/srcpkgs/libbitcoin-blockchain-devel b/srcpkgs/libbitcoin-blockchain-devel new file mode 120000 index 0000000000..faa9010195 --- /dev/null +++ b/srcpkgs/libbitcoin-blockchain-devel @@ -0,0 +1 @@ +libbitcoin-blockchain \ No newline at end of file diff --git a/srcpkgs/libbitcoin-blockchain/template b/srcpkgs/libbitcoin-blockchain/template new file mode 100644 index 0000000000..eab7b09670 --- /dev/null +++ b/srcpkgs/libbitcoin-blockchain/template @@ -0,0 +1,38 @@ +# Template file for 'libbitcoin-blockchain' +pkgname=libbitcoin-blockchain +version=3.5.0 +revision=1 +archs="aarch64* ppc64* x86_64*" +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-consensus-devel + libbitcoin-database-devel libbitcoin-secp256k1-devel libbitcoin-system-devel + libpng-devel qrencode-devel" +short_desc="Bitcoin Blockchain Library" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-blockchain" +distfiles="https://github.com/libbitcoin/libbitcoin-blockchain/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=03b8362c9172edbeb1e5970c996405cd2738e8274ba459e9b85359d6b838de20 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-blockchain-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 + } +}