diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-03 05:06:12 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-03 05:06:12 -0700 |
| commit | bf483dde89c6ca509b8b32cad1e36b16de5ba10b (patch) | |
| tree | 6f9b259d948b96ccba9d4adfffa18c1b92a2dc10 | |
| parent | 38c717d7c1844f6e40dfe3dde558e6d132fdbba6 (diff) | |
| download | vcpkg-bf483dde89c6ca509b8b32cad1e36b16de5ba10b.tar.gz vcpkg-bf483dde89c6ca509b8b32cad1e36b16de5ba10b.zip | |
[gsl] Update to 8b320e4f5
| -rw-r--r-- | ports/gsl/CONTROL | 2 | ||||
| -rw-r--r-- | ports/gsl/portfile.cmake | 15 |
2 files changed, 9 insertions, 8 deletions
diff --git a/ports/gsl/CONTROL b/ports/gsl/CONTROL index 35e1772f8..3a50432d3 100644 --- a/ports/gsl/CONTROL +++ b/ports/gsl/CONTROL @@ -1,3 +1,3 @@ Source: gsl -Version: 0-fd5ad87bf +Version: 20170425-8b320e3f5d016f953e55dfc7ec8694c1349d3fe4 Description: Guideline Support Library
\ No newline at end of file diff --git a/ports/gsl/portfile.cmake b/ports/gsl/portfile.cmake index 8ccd6f2c7..34a1bb77e 100644 --- a/ports/gsl/portfile.cmake +++ b/ports/gsl/portfile.cmake @@ -1,14 +1,15 @@ #header-only library include(vcpkg_common_functions) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/gsl-fd5ad87bf25cb5e87104ee58106dee9bc809cd93) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/Microsoft/GSL/archive/fd5ad87bf25cb5e87104ee58106dee9bc809cd93.zip" - FILENAME "gsl-fd5ad87bf.zip" - SHA512 81887be57e12bfc4e67353713478e1638bf1bffb8f523cf7241acf5415c2e3fe82ea0c0128380dcb2008afb5f53ac0d4893660626a8cd1eb501da536e6af5692 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Microsoft/GSL + REF 8b320e3f5d016f953e55dfc7ec8694c1349d3fe4 + SHA512 79d4ecc937cdce2acf79620f12c6d4592159f17aa23c0fd1e978cc571e84ee11d91bd9a45f975546447e1ba20878244312609396a52a76f18872b97ea024aa00 + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) -file(INSTALL ${SOURCE_PATH}/gsl DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*") +file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*") # Handle copyright file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gsl) |
