36 lines
1020 B
Bash
36 lines
1020 B
Bash
# Template file for 'libbitcoin-consensus'
|
|
pkgname=libbitcoin-consensus
|
|
version=3.6.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 libbitcoin-secp256k1-devel"
|
|
short_desc="Bitcoin Consensus Library"
|
|
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
|
|
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=a4252f40910fcb61da14cf8028bf3824125bacb0fc251491c9bb4e2818065fca
|
|
|
|
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
|
|
}
|
|
}
|