aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/veigar
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/veigar
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/veigar')
-rw-r--r--vcpkg/ports/veigar/portfile.cmake26
-rw-r--r--vcpkg/ports/veigar/vcpkg.json19
2 files changed, 45 insertions, 0 deletions
diff --git a/vcpkg/ports/veigar/portfile.cmake b/vcpkg/ports/veigar/portfile.cmake
new file mode 100644
index 0000000..58ad974
--- /dev/null
+++ b/vcpkg/ports/veigar/portfile.cmake
@@ -0,0 +1,26 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO winsoft666/veigar
+ HEAD_REF master
+ REF "${VERSION}"
+ SHA512 cfe7986d5d17e21ca7aff1f1e20b79136aef7e0da96e713f0077b3ad843a7a812202f0db300616c2ca8b925fb3e054bc76e24fb14ad83761ee34fb9946c33829
+)
+
+string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" VEIGAR_USE_STATIC_CRT)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DVEIGAR_USE_STATIC_CRT:BOOL=${VEIGAR_USE_STATIC_CRT}
+ -DVEIGAR_BUILD_TESTS:BOOL=OFF
+ -DVEIGAR_BUILD_EXAMPLES:BOOL=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+vcpkg_copy_pdbs()
diff --git a/vcpkg/ports/veigar/vcpkg.json b/vcpkg/ports/veigar/vcpkg.json
new file mode 100644
index 0000000..b5e0904
--- /dev/null
+++ b/vcpkg/ports/veigar/vcpkg.json
@@ -0,0 +1,19 @@
+{
+ "name": "veigar",
+ "version": "1.4",
+ "maintainers": "winsoft666 <winsoft666@outlook.com>",
+ "description": "Cross platform RPC library using shared memory.",
+ "homepage": "https://github.com/winsoft666/veigar",
+ "license": "GPL-3.0-or-later",
+ "supports": "linux | (windows & !uwp & !xbox)",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}