diff --git a/common/shlibs b/common/shlibs index 5a8a085d54..b765d70782 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3433,3 +3433,4 @@ 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 +libbitcoin-client.so.0 libbitcoin-client-3.5.0_1 diff --git a/srcpkgs/libbitcoin-client-devel b/srcpkgs/libbitcoin-client-devel new file mode 120000 index 0000000000..b52c6b7d37 --- /dev/null +++ b/srcpkgs/libbitcoin-client-devel @@ -0,0 +1 @@ +libbitcoin-client \ No newline at end of file diff --git a/srcpkgs/libbitcoin-client/template b/srcpkgs/libbitcoin-client/template new file mode 100644 index 0000000000..a309f1cf94 --- /dev/null +++ b/srcpkgs/libbitcoin-client/template @@ -0,0 +1,37 @@ +# Template file for 'libbitcoin-client' +pkgname=libbitcoin-client +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 --without-examples" +hostmakedepends="autoconf automake libtool m4 pkg-config" +makedepends="boost-devel icu-devel libbitcoin-protocol-devel + libbitcoin-secp256k1-devel libbitcoin-system-devel libpng-devel + libsodium-devel qrencode-devel zeromq-devel" +short_desc="Bitcoin Client Query Library" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-client" +distfiles="https://github.com/libbitcoin/libbitcoin-client/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=bafa26647f334ecad04fc4bbef507a1954d7e0682f07bd38b90ab66dba5fe0d2 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-client-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 + } +}