mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[syscalls-cpp] Add new port (#45996)
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
22
ports/syscalls-cpp/portfile.cmake
Normal file
22
ports/syscalls-cpp/portfile.cmake
Normal 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")
|
||||
18
ports/syscalls-cpp/vcpkg.json
Normal file
18
ports/syscalls-cpp/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
|
||||
9
versions/s-/syscalls-cpp.json
Normal file
9
versions/s-/syscalls-cpp.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5a4d576fa20a4efecce6d3b9e0ca6cf3f62921e7",
|
||||
"version": "1.1.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user