[syscalls-cpp] Add new port (#45996)

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
Ivan
2025-06-18 04:24:37 +02:00
committed by GitHub
parent 47313591da
commit 4fc5d02522
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sapdragon/syscalls-cpp
REF "v${VERSION}"
SHA512 47709c046b1b8ce629c8aa879164b49c918150fe5c1f6e3349b12ba1ffceb99557ee2357ec324e67e66c4afb80e11067eb73e7c4aa96776515f63cf7cef2aa94
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_INSTALL_INCLUDEDIR=include/syscalls-cpp
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME syscalls-cpp)
vcpkg_fixup_pkgconfig()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")

View File

@@ -0,0 +1,18 @@
{
"name": "syscalls-cpp",
"version": "1.1.1",
"description": "A modern C++20 header-only library for advanced direct system call invocation.",
"homepage": "https://github.com/sapdragon/syscalls-cpp",
"license": "MIT",
"supports": "windows & (x64 | x86)",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@@ -9224,6 +9224,10 @@
"baseline": "0.11.2",
"port-version": 2
},
"syscalls-cpp": {
"baseline": "1.1.1",
"port-version": 0
},
"systemc": {
"baseline": "3.0.1",
"port-version": 0

View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5a4d576fa20a4efecce6d3b9e0ca6cf3f62921e7",
"version": "1.1.1",
"port-version": 0
}
]
}