aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-06-18 17:10:10 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-06-18 17:10:18 -0700
commit8e6b372f77acdd0decca812dff038e69a8294697 (patch)
tree9b216da44d1f811241237188183eb06444596cc4
parentc351a758a563a1368970e4e718e0d9d3e541fbb6 (diff)
downloadvcpkg-8e6b372f77acdd0decca812dff038e69a8294697.tar.gz
vcpkg-8e6b372f77acdd0decca812dff038e69a8294697.zip
[nanorange] Fix description, --head only, don't use the single-header
-rw-r--r--ports/nanorange/CONTROL4
-rw-r--r--ports/nanorange/portfile.cmake5
2 files changed, 4 insertions, 5 deletions
diff --git a/ports/nanorange/CONTROL b/ports/nanorange/CONTROL
index 5e8ff295c..0ff1b400f 100644
--- a/ports/nanorange/CONTROL
+++ b/ports/nanorange/CONTROL
@@ -1,3 +1,3 @@
Source: nanorange
-Version: 60be62
-Description: NanoRange is a new C++14 implementation of the C++20 Ranges proposals. \ No newline at end of file
+Version: 0.0.0
+Description: NanoRange is a C++14 implementation of the C++20 Ranges proposals. \ No newline at end of file
diff --git a/ports/nanorange/portfile.cmake b/ports/nanorange/portfile.cmake
index 841df0890..aa039c3cf 100644
--- a/ports/nanorange/portfile.cmake
+++ b/ports/nanorange/portfile.cmake
@@ -4,8 +4,6 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tcbrindle/NanoRange
- REF 60be620449c762794b0664e4232c461ed4a51d82
- SHA512 9f03597c80a4fa2d287dca571cdfbddc9d93ee4402bf73d9dcb3dbc45b93931b0f028e068ff2d165a9efdfdb5761223139f7f0966d405689dcc1794710281c80
HEAD_REF master
)
@@ -17,7 +15,8 @@ vcpkg_from_github(
#vcpkg_build_cmake()
#</tests>
-file(COPY ${SOURCE_PATH}/single_include/nanorange.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+# Copy header files
+file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
# Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/nanorange)