New package: libbitcoin-network-3.5.0

This commit is contained in:
Andy Weidenbaum 2018-08-15 17:13:25 -04:00 committed by maxice8
parent c5cec29434
commit 0b30a6b8e3
3 changed files with 38 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1 @@
libbitcoin-network

View file

@ -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 <archbaum@gmail.com>"
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
}
}