aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/think-cell-range/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/think-cell-range/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/think-cell-range/portfile.cmake')
-rw-r--r--vcpkg/ports/think-cell-range/portfile.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/think-cell-range/portfile.cmake b/vcpkg/ports/think-cell-range/portfile.cmake
new file mode 100644
index 0000000..f5e6091
--- /dev/null
+++ b/vcpkg/ports/think-cell-range/portfile.cmake
@@ -0,0 +1,14 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO think-cell/think-cell-library
+ REF "${VERSION}"
+ SHA512 dbb391982fc8050a020c9597fa8608abf87f351b84b7060cfadac4670fd4564f34836a8862f42647983f601a21d6d8bbda95429fc6e2788e94a343fbba09ae99
+ HEAD_REF main
+)
+
+file(INSTALL "${SOURCE_PATH}/tc/range" DESTINATION "${CURRENT_PACKAGES_DIR}/include/think-cell" FILES_MATCHING PATTERN "*.h")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
+file(COPY "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
+
+file(COPY "${SOURCE_PATH}/range.example.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")