diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cr | |
Diffstat (limited to 'vcpkg/ports/cr')
| -rw-r--r-- | vcpkg/ports/cr/portfile.cmake | 15 | ||||
| -rw-r--r-- | vcpkg/ports/cr/vcpkg.json | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/cr/portfile.cmake b/vcpkg/ports/cr/portfile.cmake new file mode 100644 index 0000000..d6d5367 --- /dev/null +++ b/vcpkg/ports/cr/portfile.cmake @@ -0,0 +1,15 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO fungos/cr
+ REF 66b76e24611c3b87566e5365e8c422387bc85916
+ SHA512 002162461ecf131d717f7567cf13ee1345b7b359bb17c0801f4246c472c1b180f4f8937e9a3f4c186d95c41c20ffcc5ba5e953f197f344fb1000f51d8c4ee473
+ HEAD_REF master
+)
+
+file(
+ COPY ${SOURCE_PATH}/cr.h
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include
+)
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/vcpkg/ports/cr/vcpkg.json b/vcpkg/ports/cr/vcpkg.json new file mode 100644 index 0000000..5385b51 --- /dev/null +++ b/vcpkg/ports/cr/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "cr", + "version-date": "2020-04-26", + "port-version": 2, + "description": "cr.h: A Simple C Hot Reload Header-only Library", + "homepage": "https://fungos.github.io/cr-simple-c-hot-reload/" +} |