diff options
| author | W1m0k <37108473+W1m0k@users.noreply.github.com> | 2018-03-08 05:21:52 +0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-07 14:21:52 -0800 |
| commit | 864ddcd6812bbed805864df0180e8fcab34912f6 (patch) | |
| tree | 340534b0f76c0f244ce6ac9cfd7843e990ef2a62 | |
| parent | 58e8c96de050907cbf76d567f247c01c68bb9855 (diff) | |
| download | vcpkg-864ddcd6812bbed805864df0180e8fcab34912f6.tar.gz vcpkg-864ddcd6812bbed805864df0180e8fcab34912f6.zip | |
[uwebsockets] Update to 0.14.5 (#2976)
* [uwebsockets] Update to 0.14.5
* [uwebsockets] Use vcpkg_from_github
| -rw-r--r-- | ports/uwebsockets/CONTROL | 2 | ||||
| -rw-r--r-- | ports/uwebsockets/portfile.cmake | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ports/uwebsockets/CONTROL b/ports/uwebsockets/CONTROL index 13aa16cc5..a5ea7d287 100644 --- a/ports/uwebsockets/CONTROL +++ b/ports/uwebsockets/CONTROL @@ -1,4 +1,4 @@ Source: uwebsockets -Version: 0.14.4-1 +Version: 0.14.5-1 Build-Depends: libuv, openssl, zlib Description: Highly scalable cross-platform WebSocket & HTTP library for C++11 and Node.js diff --git a/ports/uwebsockets/portfile.cmake b/ports/uwebsockets/portfile.cmake index 9c7a9d719..6c660e948 100644 --- a/ports/uwebsockets/portfile.cmake +++ b/ports/uwebsockets/portfile.cmake @@ -1,12 +1,12 @@ include(vcpkg_common_functions) -set(VERSION 0.14.4) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/uwebsockets-${VERSION}) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/uWebSockets/uWebSockets/archive/v${VERSION}.zip" - FILENAME "uwebsockets-v${VERSION}.zip" - SHA512 cc395437790a51a729582897111304e7d6c72574d59c55929a686b6a8a489eb3ea3ea7f037aeda9083243317ed885bd710a708d3dd635220387d3253e0712b10 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO uWebSockets/uWebSockets + REF v0.14.5 + SHA512 93fa26446962be34f721db609f4cdf5f2d84771a3101f37daab75c1e46aa1a1402ec0d4c6b000b4eeeafa1a391f25c186bfeda1b3dc395da4e48bdb9a498fd22 + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) |
