aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nanorange
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/nanorange')
-rw-r--r--vcpkg/ports/nanorange/portfile.cmake11
-rw-r--r--vcpkg/ports/nanorange/vcpkg.json7
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"
+}