build-system: download libzip from our own server

The libzip.org server often times out and causes build failures.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-06-08 08:17:14 -07:00
parent ec0511e824
commit 085774d10c

View file

@ -151,8 +151,8 @@ if [[ "$BUILD" = *"libxslt"* && ! -d libxslt ]]; then
fi
if [[ "$BUILD" = *"libzip"* && ! -d libzip ]]; then
${CURL} https://libzip.org/download/libzip-${CURRENT_LIBZIP}.tar.gz
tar xzf libzip-${CURRENT_LIBZIP}.tar.gz
${CURL} https://subsurface-divelog.org/downloads/libzip-${CURRENT_LIBZIP}.tar.xz
tar xJf libzip-${CURRENT_LIBZIP}.tar.xz
mv libzip-${CURRENT_LIBZIP} libzip
fi