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/tl-ranges | |
Diffstat (limited to 'vcpkg/ports/tl-ranges')
| -rw-r--r-- | vcpkg/ports/tl-ranges/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/tl-ranges/vcpkg.json | 19 |
2 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/tl-ranges/portfile.cmake b/vcpkg/ports/tl-ranges/portfile.cmake new file mode 100644 index 0000000..aed35e3 --- /dev/null +++ b/vcpkg/ports/tl-ranges/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO TartanLlama/ranges
+ REF 361dae81e48ea9d0099e8783b56b903c2a6cd01c
+ SHA512 cce7964d1e77544495ae07c62c1b9a5e7948ea3a6d090e2e9126d3cbc685359e48425e48ddd533ba874ac442855f358d4b24db5265e1584aac6c54d63f82b6a4
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DRANGES_BUILD_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/tl-ranges)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/cmake")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
diff --git a/vcpkg/ports/tl-ranges/vcpkg.json b/vcpkg/ports/tl-ranges/vcpkg.json new file mode 100644 index 0000000..dc74cab --- /dev/null +++ b/vcpkg/ports/tl-ranges/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "tl-ranges", + "version-date": "2022-12-07", + "port-version": 1, + "description": "Ranges that didn't make C++20", + "homepage": "https://github.com/TartanLlama/ranges", + "documentation": "https://tl.tartanllama.xyz/en/latest/api/ranges/index.html", + "license": "CC0-1.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |