litecoin: fix cross compilation

Closes: #10303 [via git-merge-pr]
This commit is contained in:
newbluemoon 2017-12-31 16:25:23 +01:00 committed by Jürgen Buchmüller
parent ab2c75ddf9
commit 1ae632ceec

View file

@ -13,8 +13,12 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.litecoin.org/"
distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
checksum=953fd6cee2da3ed63779b2dbce8a775e76d7a926be3de5b906d40f6641a2b4d5
nocross=yes
checksum=4db5473be17fc707acfa4bc5d13b5c07915fa8c28b404ca0e6969fecc41744b2
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools protobuf"
configure_args+=" --with-boost=${XBPS_CROSS_BASE}"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh