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/nanorange | |
Diffstat (limited to 'vcpkg/ports/nanorange')
| -rw-r--r-- | vcpkg/ports/nanorange/portfile.cmake | 11 | ||||
| -rw-r--r-- | vcpkg/ports/nanorange/vcpkg.json | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/nanorange/portfile.cmake b/vcpkg/ports/nanorange/portfile.cmake new file mode 100644 index 0000000..1b22c48 --- /dev/null +++ b/vcpkg/ports/nanorange/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO tcbrindle/NanoRange
+ REF bf32251d65673fe170d602777c087786c529ead8
+ SHA512 74dc8497fd20f56de39e54a104007840450466648f7b216f83265294e24582b486392ad6bf0cc85ca9877655640f08f833bc5d82ebee991b8a57d4fa44f0934f
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}" FILES_MATCHING PATTERN "*.hpp")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/nanorange/vcpkg.json b/vcpkg/ports/nanorange/vcpkg.json new file mode 100644 index 0000000..3aed5b7 --- /dev/null +++ b/vcpkg/ports/nanorange/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "nanorange", + "version-date": "2020-07-06", + "description": "NanoRange is a C++14 implementation of the C++20 Ranges proposals.", + "homepage": "https://github.com/tcbrindle/NanoRange", + "license": "BSL-1.0" +} |