diff --git a/ports/restinio/CONTROL b/ports/restinio/CONTROL index 16fdaa4b63b8cf..6eff3a2386f448 100644 --- a/ports/restinio/CONTROL +++ b/ports/restinio/CONTROL @@ -1,4 +1,4 @@ Source: restinio -Version: 0.4.6 +Version: 0.4.7 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 diff --git a/ports/restinio/portfile.cmake b/ports/restinio/portfile.cmake index 015ce1b8718014..ab196f7eca0b55 100644 --- a/ports/restinio/portfile.cmake +++ b/ports/restinio/portfile.cmake @@ -1,16 +1,14 @@ include(vcpkg_common_functions) -set(RESTINIO_VERSION 0.4.6) +set(RESTINIO_VERSION 0.4.7) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/restinio-${RESTINIO_VERSION}-vcpkg) -vcpkg_download_distfile(ARCHIVE - URLS "https://bitbucket.org/sobjectizerteam/restinio-0.4/downloads/restinio-${RESTINIO_VERSION}-vcpkg.zip" - FILENAME "restinio-${RESTINIO_VERSION}-vcpkg.zip" - SHA512 5b0777998617164dd6b7c5944feafdfef8849b79fd6f2a396f381c4f563a862a815837a4085ef7dbb980595774eb4cccd9368c0a2cc5a88b0cb8e8cba864fb92 +vcpkg_from_bitbucket( + OUT_SOURCE_PATH SOURCE_PATH + REPO sobjectizerteam/restinio-0.4 + REF v.${RESTINIO_VERSION} + SHA512 bc6eebfce9a2fb7faf9af7b14d7c96ec7b28be992681f65701145d5712ae2efe562b964ee7498944a9aa38a53281ed0928c3d6c000c842dbdb87deae1b5ebcad ) -vcpkg_extract_source_archive(${ARCHIVE}) - vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH}/vcpkg PREFER_NINJA