Merge pull request #1758 from atkawa7/PicoSHA2

[picosha2] init
This commit is contained in:
Alexander Karatarakis 2017-09-04 00:39:04 -07:00 committed by GitHub
commit 6ce4908f69
2 changed files with 14 additions and 0 deletions

3
ports/picosha2/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: picosha2
Version: 2017-09-01-c5ff159b6
Description: PicoSHA2 - a C++ SHA256 hash generator

View File

@ -0,0 +1,11 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO okdshin/PicoSHA2
REF c5ff159b60a7755f5601a18cf9c25388ad25e0ef
SHA512 8fa4045d73a921bbb9bf6de96e80272e1d54a52ddb8f7d05643785a3b582e8f7a069ccf901352af26db7788863717c0553f086f69578835d6a0512f0be04bae3
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/picosha2.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/picosha2 RENAME copyright)