45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# Template file for 'libbitcoin-explorer'
|
|
pkgname=libbitcoin-explorer
|
|
version=3.5.0
|
|
revision=1
|
|
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-client-devel
|
|
libbitcoin-network-devel libbitcoin-protocol-devel libbitcoin-secp256k1-devel
|
|
libbitcoin-system-devel libpng-devel libsodium-devel qrencode-devel
|
|
zeromq-devel"
|
|
short_desc="Bitcoin Command Line Tool"
|
|
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
|
|
license="AGPL-3.0-or-later"
|
|
homepage="https://github.com/libbitcoin/libbitcoin-explorer"
|
|
distfiles="https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=630cffd577c0d10345b44ce8160f4604519b0ca69bf201f524f104c207b930aa
|
|
conf_files="/etc/libbitcoin/bx.cfg"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv6*) makedepends+=" libatomic-devel" LDFLAGS="-latomic" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README.md
|
|
}
|
|
|
|
libbitcoin-explorer-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
|
|
}
|
|
}
|