File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_from_github (
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO sapdragon/syscalls-cpp
4
+ REF "v${VERSION} "
5
+ SHA512 47709c046b1b8ce629c8aa879164b49c918150fe5c1f6e3349b12ba1ffceb99557ee2357ec324e67e66c4afb80e11067eb73e7c4aa96776515f63cf7cef2aa94
6
+ HEAD_REF main
7
+ )
8
+
9
+ vcpkg_cmake_configure (
10
+ SOURCE_PATH "${SOURCE_PATH} "
11
+ OPTIONS
12
+ -DCMAKE_INSTALL_INCLUDEDIR=include/syscalls-cpp
13
+ )
14
+
15
+ vcpkg_cmake_install ()
16
+
17
+ vcpkg_cmake_config_fixup (PACKAGE_NAME syscalls-cpp )
18
+
19
+ vcpkg_fixup_pkgconfig ()
20
+
21
+ file (INSTALL "${SOURCE_PATH} /LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} " RENAME copyright )
22
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug" "${CURRENT_PACKAGES_DIR} /lib" )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " syscalls-cpp" ,
3
+ "version" : " 1.1.1" ,
4
+ "description" : " A modern C++20 header-only library for advanced direct system call invocation." ,
5
+ "homepage" : " https://github.com/sapdragon/syscalls-cpp" ,
6
+ "license" : " MIT" ,
7
+ "supports" : " windows & (x64 | x86)" ,
8
+ "dependencies" : [
9
+ {
10
+ "name" : " vcpkg-cmake" ,
11
+ "host" : true
12
+ },
13
+ {
14
+ "name" : " vcpkg-cmake-config" ,
15
+ "host" : true
16
+ }
17
+ ]
18
+ }
Original file line number Diff line number Diff line change 9224
9224
"baseline" : " 0.11.2" ,
9225
9225
"port-version" : 2
9226
9226
},
9227
+ "syscalls-cpp" : {
9228
+ "baseline" : " 1.1.1" ,
9229
+ "port-version" : 0
9230
+ },
9227
9231
"systemc" : {
9228
9232
"baseline" : " 3.0.1" ,
9229
9233
"port-version" : 0
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " 5a4d576fa20a4efecce6d3b9e0ca6cf3f62921e7" ,
5
+ "version" : " 1.1.1" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
You can’t perform that action at this time.
0 commit comments