aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorggessner <ggessner@users.noreply.github.com>2020-02-07 18:35:41 +0100
committerGitHub <noreply@github.com>2020-02-07 09:35:41 -0800
commit8eaa597bba70728c70feb4674566abcbe6feeb5c (patch)
treee29272f7f9382f049d443f072a6434164abc3705
parentf370671685c40054a0923d76383c9b4ea32db417 (diff)
downloadvcpkg-8eaa597bba70728c70feb4674566abcbe6feeb5c.tar.gz
vcpkg-8eaa597bba70728c70feb4674566abcbe6feeb5c.zip
[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
-rw-r--r--ports/nngpp/CONTROL4
-rw-r--r--ports/nngpp/portfile.cmake9
2 files changed, 5 insertions, 8 deletions
diff --git a/ports/nngpp/CONTROL b/ports/nngpp/CONTROL
index 7cc9d7afe..8d9a011e0 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 18646951c..aebee156b 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)