[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
This commit is contained in:
ggessner 2020-02-07 18:35:41 +01:00 committed by GitHub
parent f370671685
commit 8eaa597bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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)