[otl] fix hash and update version (#8139)

This commit is contained in:
Phil Christensen 2019-09-11 15:57:58 -07:00 committed by Curtis J Bezault
parent 1e7303d4c5
commit 793fedd2c5
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
Source: otl
Version: 4.0.442
Version: 4.0.443
Description: Oracle, Odbc and DB2-CLI Template Library
Homepage: http://otl.sourceforge.net/

View File

@ -1,16 +1,18 @@
include(vcpkg_common_functions)
vcpkg_download_distfile(ARCHIVE
# This URL is not stable becuase they use the same name for minor releases which changes the hash below.
# if you know a stable download URL then please update it.
URLS "http://otl.sourceforge.net/otlv4_h2.zip"
FILENAME "otl-4.0.442.zip"
SHA512 2f4005c2351021c92b86411e9c5847757b3596c485c34aa6a7228d86c446b0d9f1dcbfd228e9262d10c7460b77af0709b8ba9d5c7599ae54442efd88ccdbb96d
FILENAME "otl-4.0.443.zip"
SHA512 7f1e9080f097da648050dcc60e5e54f7801bbdcbd5e4609dc14424a1881995c06f045e92bdabfca754461324dbf0e882c8542816799c4ec3c0a1a7fc6c150fa4
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
NO_REMOVE_ONE_LEVEL
REF 4.0.422
REF 4.0.443
)
file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/otl)