aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/greatest/portfile.cmake
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/greatest/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/greatest/portfile.cmake')
-rw-r--r--vcpkg/ports/greatest/portfile.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/greatest/portfile.cmake b/vcpkg/ports/greatest/portfile.cmake
new file mode 100644
index 0000000..676e4cd
--- /dev/null
+++ b/vcpkg/ports/greatest/portfile.cmake
@@ -0,0 +1,13 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO silentbicycle/greatest
+ REF v1.5.0
+ SHA512 836392A7C9C56C6A5658FD18B4BBB146304B1997DFD9CB59F2A83C18A5EC140C8DDE64A2C0CF9A169C426B9E586D37E2ED7D7FB792402DBB4149CC424EC2DB2E
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/greatest.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)