aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/picosha2/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/picosha2/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/picosha2/portfile.cmake')
-rw-r--r--vcpkg/ports/picosha2/portfile.cmake11
1 files changed, 11 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")