wsjtx: set distfile to sources.voidlinux on aarch64

This commit is contained in:
John 2019-11-28 21:25:39 +01:00
parent 64b61c7eda
commit 03143172a8

View file

@ -17,6 +17,11 @@ homepage="https://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html"
distfiles="http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-${version}.tgz"
checksum=d4af8703abc0295bd1242a0707013708f3f2543841656af8961c4bd9cbe3432a
case $XBPS_TARGET_MACHINE in
# aarch64 builders can't fetch the distfile from the orig url.
aarch64*) distfiles="https://sources.voidlinux.org/wsjtx-${version}/wsjtx-${version}.tgz";;
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
configure_args+=" -DBoost_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"