[crow] update to 1.0 (#23872)

* [crow] update to 1.0

* Update versions/c-/crow.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
autoantwort 2022-04-07 00:01:51 +02:00 committed by GitHub
parent 8807db6a7f
commit cc2dd8fed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 7 deletions

View File

@ -1,11 +1,21 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO CrowCpp/crow REPO CrowCpp/crow
REF 87adb19e43caf5a060674a9b67a86c8ced944892 #0.3+4 REF 4d2f26ee8ff2c96c6c93e7e2b7f5162027f2482d # v1.0+1
SHA512 286ff8cc2167a9c828130e4c9587bf62574502cca22da586bcefb4f317112b8bd9c1628976452fc2503042869f961bc08670d261a9e4595388b354c9b32b9a1a SHA512 69a27ae87eaa5523905e80fd1028208f2862cdd76c467e8d12dc1cca388965edb7615ae102bc1af13d824ad681eea17f69a42e790755f88ad57cae11b4268683
FILE_DISAMBIGUATOR 1
HEAD_REF master HEAD_REF master
) )
file(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include") vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCROW_BUILD_EXAMPLES=OFF
-DCROW_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Crow)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,24 @@
{ {
"name": "crow", "name": "crow",
"version": "0.3.4", "version": "1.0-1",
"description": "Very fast and easy to use C++ micro web framework", "description": "Very fast and easy to use C++ micro web framework",
"homepage": "https://github.com/CrowCpp/crow" "homepage": "https://github.com/CrowCpp/crow",
"license": "BSD-3-Clause",
"dependencies": [
"boost-algorithm",
"boost-array",
"boost-asio",
"boost-date-time",
"boost-functional",
"boost-lexical-cast",
"boost-optional",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
} }

View File

@ -1685,7 +1685,7 @@
"port-version": 2 "port-version": 2
}, },
"crow": { "crow": {
"baseline": "0.3.4", "baseline": "1.0-1",
"port-version": 0 "port-version": 0
}, },
"cryptopp": { "cryptopp": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "e21a4fb8fd849bfe3ee8d77dbdb3a4953dd08d55",
"version": "1.0-1",
"port-version": 0
},
{ {
"git-tree": "7e3e9d55fe174a7a7fc05c8afdac245eea49a654", "git-tree": "7e3e9d55fe174a7a7fc05c8afdac245eea49a654",
"version": "0.3.4", "version": "0.3.4",