From 0b30a6b8e3942adc0aeebd18ad5ddeafc6ef2ba5 Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Wed, 15 Aug 2018 17:13:25 -0400 Subject: [PATCH] New package: libbitcoin-network-3.5.0 --- common/shlibs | 1 + srcpkgs/libbitcoin-network-devel | 1 + srcpkgs/libbitcoin-network/template | 36 +++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 srcpkgs/libbitcoin-network-devel create mode 100644 srcpkgs/libbitcoin-network/template diff --git a/common/shlibs b/common/shlibs index b765d70782..450046b588 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3434,3 +3434,4 @@ 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 libbitcoin-client.so.0 libbitcoin-client-3.5.0_1 +libbitcoin-network.so.0 libbitcoin-network-3.5.0_1 diff --git a/srcpkgs/libbitcoin-network-devel b/srcpkgs/libbitcoin-network-devel new file mode 120000 index 0000000000..c464411425 --- /dev/null +++ b/srcpkgs/libbitcoin-network-devel @@ -0,0 +1 @@ +libbitcoin-network \ No newline at end of file diff --git a/srcpkgs/libbitcoin-network/template b/srcpkgs/libbitcoin-network/template new file mode 100644 index 0000000000..6235159e6a --- /dev/null +++ b/srcpkgs/libbitcoin-network/template @@ -0,0 +1,36 @@ +# Template file for 'libbitcoin-network' +pkgname=libbitcoin-network +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 qrencode-devel" +short_desc="Bitcoin P2P Network Library" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-network" +distfiles="https://github.com/libbitcoin/libbitcoin-network/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=e065bd95f64ad5d7b0f882e8759f6b0f81a5fb08f7e971d80f3592a1b5aa8db4 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-network-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 + } +}