diff options
Diffstat (limited to 'vcpkg/ports/picosha2')
| -rw-r--r-- | vcpkg/ports/picosha2/portfile.cmake | 11 | ||||
| -rw-r--r-- | vcpkg/ports/picosha2/vcpkg.json | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/picosha2/portfile.cmake b/vcpkg/ports/picosha2/portfile.cmake new file mode 100644 index 0000000..9832161 --- /dev/null +++ b/vcpkg/ports/picosha2/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO okdshin/PicoSHA2 + REF "v${VERSION}" + SHA512 e6315f9f3a00197dcdd1cf459d956048e5c15f40d158537a061181d43e02ee46b979b650a05e748f61b85149f32f77625dacb869402dc243bdca71c5d2a0cc6d + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/picosha2.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/picosha2/vcpkg.json b/vcpkg/ports/picosha2/vcpkg.json new file mode 100644 index 0000000..8173df7 --- /dev/null +++ b/vcpkg/ports/picosha2/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "picosha2", + "version": "1.0.1", + "description": "PicoSHA2 - a header-file-only C++ SHA256 hash generator", + "homepage": "https://github.com/okdshin/PicoSHA2", + "license": "MIT" +} |