diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-03 11:25:35 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-03 11:25:35 -0700 |
| commit | d6599a56e9e61a2c572b80d9dca926279ced798e (patch) | |
| tree | bccf94d7dd3e73b182e1260ca8f6cae9b2ee228b /ports/ms-gsl | |
| parent | c38f2b69fab64e73626583d82fdb44d7ae0a2d05 (diff) | |
| download | vcpkg-d6599a56e9e61a2c572b80d9dca926279ced798e.tar.gz vcpkg-d6599a56e9e61a2c572b80d9dca926279ced798e.zip | |
[ms-gsl][gnusl][gsl] Rename gnusl->gsl, gsl->ms-gsl.
Diffstat (limited to 'ports/ms-gsl')
| -rw-r--r-- | ports/ms-gsl/CONTROL | 3 | ||||
| -rw-r--r-- | ports/ms-gsl/portfile.cmake | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/ms-gsl/CONTROL b/ports/ms-gsl/CONTROL new file mode 100644 index 000000000..c485497e3 --- /dev/null +++ b/ports/ms-gsl/CONTROL @@ -0,0 +1,3 @@ +Source: ms-gsl +Version: 20170425-8b320e3f5d016f953e55dfc7ec8694c1349d3fe4 +Description: Microsoft implementation of the Guidelines Support Library
\ No newline at end of file diff --git a/ports/ms-gsl/portfile.cmake b/ports/ms-gsl/portfile.cmake new file mode 100644 index 000000000..a5353e666 --- /dev/null +++ b/ports/ms-gsl/portfile.cmake @@ -0,0 +1,16 @@ +#header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Microsoft/GSL + REF 8b320e3f5d016f953e55dfc7ec8694c1349d3fe4 + SHA512 79d4ecc937cdce2acf79620f12c6d4592159f17aa23c0fd1e978cc571e84ee11d91bd9a45f975546447e1ba20878244312609396a52a76f18872b97ea024aa00 + HEAD_REF master +) + +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/ms-gsl) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/ms-gsl/LICENSE ${CURRENT_PACKAGES_DIR}/share/ms-gsl/copyright) |
