From 8eaa597bba70728c70feb4674566abcbe6feeb5c Mon Sep 17 00:00:00 2001 From: ggessner Date: Fri, 7 Feb 2020 18:35:41 +0100 Subject: [PATCH] [nngpp] update library to latest version (v1.2.4) (#9907) * update nngpp version fixed correct handling of copyright/licences removed deprecated command * prettify versioning * replace tag with corresponding commit id * fix SHA512 --- ports/nngpp/CONTROL | 4 ++-- ports/nngpp/portfile.cmake | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/ports/nngpp/CONTROL b/ports/nngpp/CONTROL index 7cc9d7afe1..8d9a011e0b 100644 --- a/ports/nngpp/CONTROL +++ b/ports/nngpp/CONTROL @@ -1,6 +1,6 @@ Source: nngpp -Version: 2019-07-25 -Homepage:https://github.com/cwzx/nngpp +Version: 1.2.4 +Homepage: https://github.com/cwzx/nngpp Description: C++ wrapper around the nanomsg NNG API. Build-Depends: nng diff --git a/ports/nngpp/portfile.cmake b/ports/nngpp/portfile.cmake index 18646951c4..aebee156bf 100644 --- a/ports/nngpp/portfile.cmake +++ b/ports/nngpp/portfile.cmake @@ -1,10 +1,8 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO cwzx/nngpp - REF 3351f54e6e774505d8d8b88064d04eb98e0b1cda - SHA512 6f72d1085b58ee7a8941294e7479661d8fc2c22cc8af2cee9c2cef11d508032a860c0061851bda07cf995ec8f57e5a25e241a15114a91c487d8aad6def2d4ce5 + REF 85294eda3f584281439649a074f46e2d3516b2a1 + SHA512 8f794c323a4cefe67b525652480154bbd6b8ca205f37de04ee1a14fc56b794a754972931c85dc5a1969b6fc626ef6b7f1a2682ac9cd627c86b2e811a5c077c0e HEAD_REF master ) @@ -25,6 +23,5 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib) # Handle copyright -file(COPY ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/license.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) +file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)