diff --git a/common/shlibs b/common/shlibs index b765d70782d..450046b5887 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 00000000000..c4644114250 --- /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 00000000000..6235159e6af --- /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 + } +}