37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# 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 <archbaum@gmail.com>"
|
|
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
|
|
}
|
|
}
|