aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreao197 <eao197@users.noreply.github.com>2019-12-20 23:02:36 +0300
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-12-20 12:02:36 -0800
commitc19dea188d66c9076a34a5fb412e2176fec89e15 (patch)
tree0cde9354a1543cb2326577da97fc8e8756710069
parentc77c1cd86150e14ee3ecba319ee554b46f39ebd4 (diff)
downloadvcpkg-c19dea188d66c9076a34a5fb412e2176fec89e15.tar.gz
vcpkg-c19dea188d66c9076a34a5fb412e2176fec89e15.zip
[restinio] update to 0.6.2 (#9293)
* RESTinio updated to 0.6.2. * Remove deprecated stuff. Homepage tag added to CONTROL file.
-rw-r--r--ports/restinio/CONTROL4
-rw-r--r--ports/restinio/portfile.cmake9
2 files changed, 6 insertions, 7 deletions
diff --git a/ports/restinio/CONTROL b/ports/restinio/CONTROL
index a2cde340a..14a167491 100644
--- a/ports/restinio/CONTROL
+++ b/ports/restinio/CONTROL
@@ -1,4 +1,6 @@
Source: restinio
-Version: 0.6.1.1
+Version: 0.6.2
Description: A header-only C++14 library that gives you an embedded HTTP/Websocket server targeted primarily for asynchronous processing of HTTP-requests.
Build-Depends: asio, fmt, http-parser
+Homepage: https://github.com/stiffstream/restinio
+
diff --git a/ports/restinio/portfile.cmake b/ports/restinio/portfile.cmake
index 2c3217b18..bb1efd49c 100644
--- a/ports/restinio/portfile.cmake
+++ b/ports/restinio/portfile.cmake
@@ -1,10 +1,8 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stiffstream/restinio
- REF 4e1ab4e7718a14d4cf043cc9c3f85395bd46e34b # v.0.6.1.1
- SHA512 36a0f1587f9e1b5862f9234db921ce7745605da60894cf1abea21406807b18d42f1cc90a51c2835f77e75f977780361a759be02896d66b7530d180dd463a20b5
+ REF 086c07eb4aaa59997489e5431d6279211347061a # v.0.6.2
+ SHA512 28cf20331749ca5dee75cd318d7b08ea6b7e26e8e59fde2de182683c0a3861e3a6f1957605cd61bf09e2ba9f05a04f08fabcbb140d73ffe72d8b5235b4df7746
)
vcpkg_configure_cmake(
@@ -18,6 +16,5 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/restinio)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/restinio)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/restinio/LICENSE ${CURRENT_PACKAGES_DIR}/share/restinio/copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)