diff --git a/common/shlibs b/common/shlibs index a00ec51041a..fd7b14cdfe8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3437,3 +3437,4 @@ libbitcoin-client.so.0 libbitcoin-client-3.5.0_1 libbitcoin-network.so.0 libbitcoin-network-3.5.0_1 libbitcoin-explorer.so.0 libbitcoin-explorer-3.5.0_1 libltc.so.11 libltc-1.3.1_1 +libbitcoin-consensus.so.0 libbitcoin-consensus-3.5.0_1 diff --git a/srcpkgs/libbitcoin-consensus-devel b/srcpkgs/libbitcoin-consensus-devel new file mode 120000 index 00000000000..01eb2cda87c --- /dev/null +++ b/srcpkgs/libbitcoin-consensus-devel @@ -0,0 +1 @@ +libbitcoin-consensus \ No newline at end of file diff --git a/srcpkgs/libbitcoin-consensus/template b/srcpkgs/libbitcoin-consensus/template new file mode 100644 index 00000000000..8b0f575733a --- /dev/null +++ b/srcpkgs/libbitcoin-consensus/template @@ -0,0 +1,36 @@ +# Template file for 'libbitcoin-consensus' +pkgname=libbitcoin-consensus +version=3.5.0 +revision=1 +build_style=gnu-configure +configure_args="ax_cv_boost_unit_test_framework=no + --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 libbitcoin-secp256k1-devel" +short_desc="Bitcoin Consensus Library" +maintainer="Andy Weidenbaum " +license="AGPL-3.0-or-later" +homepage="https://github.com/libbitcoin/libbitcoin-consensus" +distfiles="https://github.com/libbitcoin/libbitcoin-consensus/archive/v${version}.tar.gz" +checksum=bb29761d4275a9c993151707557008b23572a3d9adecc0e36a3075cfb101dd1e + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING + vdoc README.md +} + +libbitcoin-consensus-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 + } +}