diff options
| author | myd7349 <myd7349@gmail.com> | 2019-07-23 01:09:58 +0800 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-07-22 10:09:58 -0700 |
| commit | b6948609dd6f6700eeb5eea041035c72dd0c55f0 (patch) | |
| tree | fafcd7fe5a857a3be43492d6429467304894a1a5 | |
| parent | cd21e78b68d82bce02e1fe2b422c56453bb266c1 (diff) | |
| download | vcpkg-b6948609dd6f6700eeb5eea041035c72dd0c55f0.tar.gz vcpkg-b6948609dd6f6700eeb5eea041035c72dd0c55f0.zip | |
[boolinq] Add new port (#7362)
| -rw-r--r-- | ports/boolinq/CONTROL | 4 | ||||
| -rw-r--r-- | ports/boolinq/portfile.cmake | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/boolinq/CONTROL b/ports/boolinq/CONTROL new file mode 100644 index 000000000..aa246d2dc --- /dev/null +++ b/ports/boolinq/CONTROL @@ -0,0 +1,4 @@ +Source: boolinq +Version: 2019-07-22 +Description: Super tiny C++11 single-file header-only LINQ library +Homepage: https://github.com/k06a/boolinq diff --git a/ports/boolinq/portfile.cmake b/ports/boolinq/portfile.cmake new file mode 100644 index 000000000..35ad4994f --- /dev/null +++ b/ports/boolinq/portfile.cmake @@ -0,0 +1,16 @@ +# Single-file header-only library + +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO k06a/boolinq + REF 1d09dc8b3df79801062e5c0e758572552fa4ce98 + SHA512 0714a97d09bb8299d39062803a8cd5de28834c372f7826afc36e17ea6aa90d2ec368d5bbb907914ad1ca5a65be41a5caeaa1583f66358577d7ea88d3c0906238 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/include/boolinq/boolinq.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/boolinq) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) |
