aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/safeint
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/safeint
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/safeint')
-rw-r--r--vcpkg/ports/safeint/portfile.cmake11
-rw-r--r--vcpkg/ports/safeint/vcpkg.json6
2 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/safeint/portfile.cmake b/vcpkg/ports/safeint/portfile.cmake
new file mode 100644
index 0000000..4e65bca
--- /dev/null
+++ b/vcpkg/ports/safeint/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO dcleblanc/SafeInt
+ REF "${VERSION}"
+ SHA512 9f0be3f42b05ce3ea0b8208d5d5277167b129e77dc7e15174d0e3e038cb886b16a3cb63918b4f2e21ba79021f45ee6486ff9aa61d9f856828b291699c1355f61
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/SafeInt.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/vcpkg/ports/safeint/vcpkg.json b/vcpkg/ports/safeint/vcpkg.json
new file mode 100644
index 0000000..8471401
--- /dev/null
+++ b/vcpkg/ports/safeint/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "safeint",
+ "version": "3.0.28",
+ "description": "SafeInt is a class library for C++ that manages integer overflows",
+ "homepage": "https://github.com/dcleblanc/SafeInt"
+}