aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Fotopoulos <xorz57@gmail.com>2018-04-06 07:43:26 +0300
committerRobert Schumacher <roschuma@microsoft.com>2018-04-05 21:43:26 -0700
commit09c9d1b75db3182c2d9fcfd6e0c73175eea652ce (patch)
tree3507ddc966a1910c77c684069ef64d921493c7da
parent35f5a0de5327efdea1e9aea7979a2c828daacc0d (diff)
downloadvcpkg-09c9d1b75db3182c2d9fcfd6e0c73175eea652ce.tar.gz
vcpkg-09c9d1b75db3182c2d9fcfd6e0c73175eea652ce.zip
[forest] Update to version 7.0.1 (#3208)
* Update portfile.cmake * [forest] Update to version 7.0.1 * [forest] Use vcpkg_from_github
-rw-r--r--ports/forest/CONTROL2
-rw-r--r--ports/forest/portfile.cmake15
2 files changed, 8 insertions, 9 deletions
diff --git a/ports/forest/CONTROL b/ports/forest/CONTROL
index 522668d9d..e22089dab 100644
--- a/ports/forest/CONTROL
+++ b/ports/forest/CONTROL
@@ -1,3 +1,3 @@
Source: forest
-Version: 4.5.0
+Version: 7.0.1
Description: Forest is an open-source, template library of tree data structures written in C++11.
diff --git a/ports/forest/portfile.cmake b/ports/forest/portfile.cmake
index 6f076a0db..78e85a5fe 100644
--- a/ports/forest/portfile.cmake
+++ b/ports/forest/portfile.cmake
@@ -1,13 +1,12 @@
-# Ηeader-only library
-
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/forest-4.5.0)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/xorz57/forest/archive/4.5.0.zip"
- FILENAME "forest-4.5.0.zip"
- SHA512 ae256ad38802d0827cfcd45ffae35ddb95cf74e38cf3e5d806f6e2215f701abfb8159f82e2bb6362788fe96a9f9008429d366e7abbc7980b29b3528052cfe43e
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO xorz57/forest
+ REF 7.0.1
+ SHA512 75f5f643ec20bab3298e5983f2ab1672dc304102059cf454341fe37495f1e18ac6a6fcce927b49f441a586ec788d4be44e1ceab8e1947565c2ab3ff519daded8
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
# Handle headers
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")