diff options
| author | myd7349 <myd7349@gmail.com> | 2019-08-14 01:49:08 +0800 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-08-13 10:49:08 -0700 |
| commit | fed6f0422d9b18e769fff98db10c316f5977b92b (patch) | |
| tree | 327fe775f483eab8521d6e5afb34249fba3844b6 | |
| parent | e0989ba7aa0b9aa097b567044fabce4d6ac740a4 (diff) | |
| download | vcpkg-fed6f0422d9b18e769fff98db10c316f5977b92b.tar.gz vcpkg-fed6f0422d9b18e769fff98db10c316f5977b92b.zip | |
[xorstr] Add new port (#7631)
| -rw-r--r-- | ports/xorstr/CONTROL | 4 | ||||
| -rw-r--r-- | ports/xorstr/portfile.cmake | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/xorstr/CONTROL b/ports/xorstr/CONTROL new file mode 100644 index 000000000..f3555680c --- /dev/null +++ b/ports/xorstr/CONTROL @@ -0,0 +1,4 @@ +Source: xorstr +Version: 2019-08-10 +Description: Heavily vectorized c++17 compile time string encryption +Homepage: https://github.com/JustasMasiulis/xorstr diff --git a/ports/xorstr/portfile.cmake b/ports/xorstr/portfile.cmake new file mode 100644 index 000000000..3d97ba190 --- /dev/null +++ b/ports/xorstr/portfile.cmake @@ -0,0 +1,16 @@ +# header-only library + +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO JustasMasiulis/xorstr + REF 5d7371dcb70601ce9c252d475cc3dc6cf8f1e0db + SHA512 7625d2ebdb95a5414f0a1ac7ac8951b612d5159be5eccce4e13b88a4d17ffa3c65ff81ce5df5b64064b5712da7238ec1f564d2c213852731cad30c367ebad72e + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/include/xorstr.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) |
