diff --git a/common/shlibs b/common/shlibs index 4579135235..6d402f3286 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3431,3 +3431,4 @@ libdwarves_reorganize.so.1 pahole-1.12_1 libclthreads.so.2 clthreads-2.4.2_1 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 diff --git a/srcpkgs/libbitcoin-system-devel b/srcpkgs/libbitcoin-system-devel new file mode 120000 index 0000000000..13797e5b58 --- /dev/null +++ b/srcpkgs/libbitcoin-system-devel @@ -0,0 +1 @@ +libbitcoin-system \ No newline at end of file diff --git a/srcpkgs/libbitcoin-system/template b/srcpkgs/libbitcoin-system/template new file mode 100644 index 0000000000..e1117c5ecd --- /dev/null +++ b/srcpkgs/libbitcoin-system/template @@ -0,0 +1,37 @@ +# Template file for 'libbitcoin-system' +pkgname=libbitcoin-system +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 --with-icu --with-png + --with-qrencode --without-examples" +hostmakedepends="autoconf automake libtool m4 pkg-config" +makedepends="boost-devel icu-devel libbitcoin-secp256k1-devel libpng-devel + qrencode-devel" +short_desc="Bitcoin Cross-Platform C++ Development Toolkit" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-system" +distfiles="https://github.com/libbitcoin/libbitcoin-system/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=44ecd8b0de0dff2296f03e9c7f42a0afb9ac4f916aeaf6de2bffd0ccc05790b5 + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-system-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 + } +}