[picosha2] init

This commit is contained in:
atkawa7 2017-09-02 20:28:16 -07:00
parent 8fac93e539
commit 819d2667a1
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)