41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# Template file for 'libbitcoin-node'
|
|
pkgname=libbitcoin-node
|
|
version=3.6.0
|
|
revision=6
|
|
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 <atweiden@tutanota.de>"
|
|
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=9556ee8aab91e893db1cf343883034571153b206ffbbce3e3133c97e6ee4693b
|
|
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
|
|
}
|
|
}
|