[libiconv] Add mirror (#5056)

This commit is contained in:
past-due 2019-01-07 15:52:45 -05:00 committed by Robert Schumacher
parent a0042b8a66
commit a20ac0957a

View File

@ -10,7 +10,7 @@ include(vcpkg_common_functions)
set(LIBICONV_VERSION 1.15)
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnu.org/gnu/libiconv/libiconv-${LIBICONV_VERSION}.tar.gz"
URLS "https://ftp.gnu.org/gnu/libiconv/libiconv-${LIBICONV_VERSION}.tar.gz" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libiconv/libiconv-${LIBICONV_VERSION}.tar.gz"
FILENAME "libiconv-${LIBICONV_VERSION}.tar.gz"
SHA512 1233fe3ca09341b53354fd4bfe342a7589181145a1232c9919583a8c9979636855839049f3406f253a9d9829908816bb71fd6d34dd544ba290d6f04251376b1a
)
@ -43,4 +43,4 @@ vcpkg_copy_pdbs()
file(COPY ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/libiconv)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libiconv/COPYING.LIB ${CURRENT_PACKAGES_DIR}/share/libiconv/copyright)
vcpkg_test_cmake(PACKAGE_NAME unofficial-iconv)
vcpkg_test_cmake(PACKAGE_NAME unofficial-iconv)