aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/scottt-debugbreak
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/scottt-debugbreak
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/scottt-debugbreak')
-rw-r--r--vcpkg/ports/scottt-debugbreak/portfile.cmake16
-rw-r--r--vcpkg/ports/scottt-debugbreak/vcpkg.json6
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/scottt-debugbreak/portfile.cmake b/vcpkg/ports/scottt-debugbreak/portfile.cmake
new file mode 100644
index 0000000..95bb180
--- /dev/null
+++ b/vcpkg/ports/scottt-debugbreak/portfile.cmake
@@ -0,0 +1,16 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO scottt/debugbreak
+ REF v1.0
+ SHA512 bf8c43d42d9b19c9a3cb1fa5955a24efb48c2c21f0d89685f23702c3e2644637f2e8c6ec599024866138519b107787baef838b6d981779e2484e30d20a7386b9
+ HEAD_REF master
+)
+
+file(
+ COPY "${SOURCE_PATH}/debugbreak.h"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include"
+)
+
+# Handle copyright
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/scottt-debugbreak/vcpkg.json b/vcpkg/ports/scottt-debugbreak/vcpkg.json
new file mode 100644
index 0000000..599aa15
--- /dev/null
+++ b/vcpkg/ports/scottt-debugbreak/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "scottt-debugbreak",
+ "version": "1.0",
+ "description": "Break into the debugger programmatically",
+ "homepage": "https://github.com/scottt/debugbreak"
+}