diff --git a/common/shlibs b/common/shlibs index 25e57841160..f824cbb29fd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3440,3 +3440,4 @@ 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 +libbitcoin-node.so.0 libbitcoin-node-3.5.0_1 diff --git a/srcpkgs/libbitcoin-node-devel b/srcpkgs/libbitcoin-node-devel new file mode 120000 index 00000000000..373283d34f1 --- /dev/null +++ b/srcpkgs/libbitcoin-node-devel @@ -0,0 +1 @@ +libbitcoin-node \ No newline at end of file diff --git a/srcpkgs/libbitcoin-node/template b/srcpkgs/libbitcoin-node/template new file mode 100644 index 00000000000..859f7ae3702 --- /dev/null +++ b/srcpkgs/libbitcoin-node/template @@ -0,0 +1,40 @@ +# Template file for 'libbitcoin-node' +pkgname=libbitcoin-node +version=3.5.0 +revision=1 +archs="aarch64* ppc64* x86_64*" +build_style=gnu-configure +configure_args="--with-bash-completiondir=/usr/share/bash-completion/completions + --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="bash-completion boost-devel icu-devel libbitcoin-blockchain-devel + libbitcoin-consensus-devel libbitcoin-database-devel libbitcoin-network-devel + libbitcoin-secp256k1-devel libbitcoin-system-devel libpng-devel qrencode-devel" +short_desc="Bitcoin Full Node" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-node" +distfiles="https://github.com/libbitcoin/libbitcoin-node/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum="e3a0a96155ca93aa6cba75789c18419f40686a69cbd40c77aa77ca84ccc43cab" +conf_files="/etc/libbitcoin/bn.cfg" + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-node-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 + } +}