[kerbal] Add port files for new library Kerbal (#35600)

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
This commit is contained in:
Wentsing Nee 2023-12-14 15:43:11 +08:00 committed by GitHub
parent 77c73ede01
commit 85ade256c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO WentsingNee/Kerbal
REF "v${VERSION}"
SHA512 d974fbf29ae7226a26a73db58b4c7c6c9f2e826b6524c1b861a824e85bd2c4fbdd52d1ff0c930a026fca0f795d871bac074481ac45023a25e894c23b685f784c
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH "share/cmake/Kerbal"
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

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

@ -0,0 +1,17 @@
{
"name": "kerbal",
"version": "2023.12.1",
"description": "Kerbal C++ Template Library",
"homepage": "https://github.com/WentsingNee/Kerbal",
"license": "LGPL-3.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -3756,6 +3756,10 @@
"baseline": "20230531",
"port-version": 0
},
"kerbal": {
"baseline": "2023.12.1",
"port-version": 0
},
"keystone": {
"baseline": "0.9.2",
"port-version": 3

9
versions/k-/kerbal.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b4d5ce6370b4c2a345ba96cbebbce8632667fac1",
"version": "2023.12.1",
"port-version": 0
}
]
}