aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authormisirlou-tg <39652424+misirlou-tg@users.noreply.github.com>2021-09-23 19:50:15 -0500
committerGitHub <noreply@github.com>2021-09-23 17:50:15 -0700
commit127ccb3c5e97b6d49d6fdc103c3857ff06197782 (patch)
treeaf4f698855776ea1603d4af2e060772a2e8027b5 /ports
parent3b383400db647671377944a83a296f4a651b79ab (diff)
downloadvcpkg-127ccb3c5e97b6d49d6fdc103c3857ff06197782.tar.gz
vcpkg-127ccb3c5e97b6d49d6fdc103c3857ff06197782.zip
[scottt-debugbreak] New port (#20276)
* [scottt-debugbreak] Adding new port * Run x-add-version
Diffstat (limited to 'ports')
-rw-r--r--ports/scottt-debugbreak/portfile.cmake16
-rw-r--r--ports/scottt-debugbreak/vcpkg.json6
2 files changed, 22 insertions, 0 deletions
diff --git a/ports/scottt-debugbreak/portfile.cmake b/ports/scottt-debugbreak/portfile.cmake
new file mode 100644
index 000000000..95bb180be
--- /dev/null
+++ b/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/ports/scottt-debugbreak/vcpkg.json b/ports/scottt-debugbreak/vcpkg.json
new file mode 100644
index 000000000..599aa158a
--- /dev/null
+++ b/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"
+}