aboutsummaryrefslogtreecommitdiff
path: root/ports/bitsery
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-14 11:24:22 +0800
committerGitHub <noreply@github.com>2021-09-13 20:24:22 -0700
commitc702e92ef7473574a016ef9a34b0a0e880e865eb (patch)
treefeb099fa3aeab0413af1ace2b32756d5b8b9c559 /ports/bitsery
parent88e62788be33f9a57963c22e2bea89702edf74fd (diff)
downloadvcpkg-c702e92ef7473574a016ef9a34b0a0e880e865eb.tar.gz
vcpkg-c702e92ef7473574a016ef9a34b0a0e880e865eb.zip
[botan/bitsery/cgl] Update to latest release (#20132)
Diffstat (limited to 'ports/bitsery')
-rw-r--r--ports/bitsery/portfile.cmake25
-rw-r--r--ports/bitsery/vcpkg.json15
2 files changed, 24 insertions, 16 deletions
diff --git a/ports/bitsery/portfile.cmake b/ports/bitsery/portfile.cmake
index 146f6f75d..16fec4c35 100644
--- a/ports/bitsery/portfile.cmake
+++ b/ports/bitsery/portfile.cmake
@@ -1,21 +1,20 @@
vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO fraillt/bitsery
- REF db884a0656a3aabb87da1ae6edf12629507f76a7
- SHA512 7c94a09ed7cf07aa6c347d2960de622c5d69a25c7af501d10224b02f9db1bb191e8a5f7f096de488650f5a164e554b20f950fcdde423afced0ebfed249cb1c3d
- HEAD_REF master
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO fraillt/bitsery
+ REF c0fc083c9de805e5825d7553507569febf6a6f93 # v5.2.2
+ SHA512 a4c8660f6e8dcb5162f6f75e0f1e4716032b8403e9461f42e0628955eb07dc7c17aec9f774f45c2c15cce28a231699a71815d3d6d7d0f34a1367ee1e2d944305
+ HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
-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)
diff --git a/ports/bitsery/vcpkg.json b/ports/bitsery/vcpkg.json
index dfad4f5c5..4fad88260 100644
--- a/ports/bitsery/vcpkg.json
+++ b/ports/bitsery/vcpkg.json
@@ -1,7 +1,16 @@
{
"name": "bitsery",
- "version-string": "5.2.1",
- "port-version": 1,
+ "version": "5.2.2",
"description": "Header only C++ binary serialization library",
- "homepage": "https://github.com/fraillt/bitsery"
+ "homepage": "https://github.com/fraillt/bitsery",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}