Add new port cista (#28669)

This commit is contained in:
Martin Stump 2023-01-04 21:44:15 +01:00 committed by GitHub
parent b6d9a1e6f8
commit 74b4f1255d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,26 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO felixguendling/cista
REF "v${VERSION}"
SHA512 303d622416e72f771b6fa2b1c7b7ca4cfed3091d89409c96262571162754c9d6d99b62a930c137e01fd8c74a8f46b76ac3a1d86387c918414e26c8a2a8ffd930
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCISTA_INSTALL=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cista)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)

17
ports/cista/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "cista",
"version": "0.11",
"description": "Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.",
"homepage": "https://github.com/felixguendling/cista",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1428,6 +1428,10 @@
"baseline": "2.9.9",
"port-version": 0
},
"cista": {
"baseline": "0.11",
"port-version": 0
},
"cityhash": {
"baseline": "2013-01-08",
"port-version": 2

9
versions/c-/cista.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "3d9245928fb19ec93b7c1e98bd5acc2e8e56faa3",
"version": "0.11",
"port-version": 0
}
]
}