Skip to content

Commit

Permalink
[usockets] update to 0.3.4 (microsoft#9278)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinZhangH authored and dan-shaw committed Dec 20, 2019
1 parent c19dea1 commit 31c085e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ports/usockets/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: usockets
Version: 0.3.1
Version: 0.3.4
Build-Depends:libuv
Description: Miniscule cross-platform eventing, networking & crypto for async applications
11 changes: 4 additions & 7 deletions ports/usockets/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
include(vcpkg_common_functions)

IF (NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
IF (NOT VCPKG_TARGET_IS_LINUX)
set(USE_LIBUV ON)
EndIF ()

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uSockets
REF v0.3.1
SHA512 f02b72844fb87acbf435d86a89e55244e45e047b049f36bda8e89c9ddeba8d7e6432008d33d33771faec60dcca60a3e3bfa3918c3af08ba80741e09df62c91fd
REF 5ff9a6db51e480db149fac1db232dbd9d1d6d543 #v0.3.4
SHA512 053dd8b06977616859ab09bbbd5b7f800936b5b3e673c71752ef1ca1dfb5bae464e21dd8dba36ac47b946bf469419828d2c5e1bfcb1061582d3fd2ded79c05d8
HEAD_REF master
)

Expand All @@ -28,7 +26,6 @@ vcpkg_configure_cmake(

vcpkg_install_cmake()

file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/usockets)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/usockets/LICENSE ${CURRENT_PACKAGES_DIR}/share/usockets/copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

vcpkg_copy_pdbs()

0 comments on commit 31c085e

Please sign in to comment.