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/rapidhash | |
Diffstat (limited to 'vcpkg/ports/rapidhash')
| -rw-r--r-- | vcpkg/ports/rapidhash/portfile.cmake | 11 | ||||
| -rw-r--r-- | vcpkg/ports/rapidhash/vcpkg.json | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/rapidhash/portfile.cmake b/vcpkg/ports/rapidhash/portfile.cmake new file mode 100644 index 0000000..55c03ba --- /dev/null +++ b/vcpkg/ports/rapidhash/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Nicoshev/rapidhash + REF "rapidhash_v${VERSION}" + SHA512 c7097263721c01b7218358ac535625008fe6e67d274d50857472ffc7fa49849fbd1b3bb766611f1af17182b4bfa7e1ce0f3a00df5b4254c3b9040d9467f29024 + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/rapidhash.h" DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/rapidhash/vcpkg.json b/vcpkg/ports/rapidhash/vcpkg.json new file mode 100644 index 0000000..241b564 --- /dev/null +++ b/vcpkg/ports/rapidhash/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "rapidhash", + "version": "3", + "description": "Very fast, high quality, platform independent hashing algorithm.", + "homepage": "https://github.com/Nicoshev/rapidhash", + "license": "BSD-2-Clause" +} |