diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/wyhash | |
Diffstat (limited to 'vcpkg/ports/wyhash')
| -rw-r--r-- | vcpkg/ports/wyhash/portfile.cmake | 11 | ||||
| -rw-r--r-- | vcpkg/ports/wyhash/vcpkg.json | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/wyhash/portfile.cmake b/vcpkg/ports/wyhash/portfile.cmake new file mode 100644 index 0000000..3d2e881 --- /dev/null +++ b/vcpkg/ports/wyhash/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO wangyi-fudan/wyhash
+ REF 408620b6d12b7d667b3dd6ae39b7929a39e8fa05
+ SHA512 c7778ea13edd097e5c6e29b3974f22b387abfa565b93c26cd0e37062fe57d233b75989d37853354a68aec7989568d15fd1be46d18f55549920ed6dbaf52937a5
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/wyhash.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/wyhash/vcpkg.json b/vcpkg/ports/wyhash/vcpkg.json new file mode 100644 index 0000000..7151770 --- /dev/null +++ b/vcpkg/ports/wyhash/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "wyhash", + "version-date": "2023-12-03", + "description": "The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.", + "homepage": "https://github.com/wangyi-fudan/wyhash", + "license": "Unlicense" +} |