aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/igloo/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/igloo/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/igloo/portfile.cmake')
-rw-r--r--vcpkg/ports/igloo/portfile.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/igloo/portfile.cmake b/vcpkg/ports/igloo/portfile.cmake
new file mode 100644
index 0000000..6a9ce38
--- /dev/null
+++ b/vcpkg/ports/igloo/portfile.cmake
@@ -0,0 +1,14 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO joakimkarlsson/igloo
+ REF igloo.1.1.1
+ SHA512 69d8edb840aa1e2c1df4529a39b94e2d33dbc9fb5869ae91a0f062d29b7fbb73d4e2180080e7696cb69fbf5126c7c53c98dddb003e0e5e796812330e1a4ba32e
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/igloo DESTINATION ${CURRENT_PACKAGES_DIR}/include/ FILES_MATCHING PATTERN *.h)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse)
+file(WRITE "${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse/snowhouse/snowhouse.h" "#include <snowhouse/snowhouse.h>")
+
+file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/igloo)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/igloo/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/igloo/copyright) \ No newline at end of file