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/sushant-wayal-stringhash | |
Diffstat (limited to 'vcpkg/ports/sushant-wayal-stringhash')
| -rw-r--r-- | vcpkg/ports/sushant-wayal-stringhash/portfile.cmake | 14 | ||||
| -rw-r--r-- | vcpkg/ports/sushant-wayal-stringhash/vcpkg.json | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/sushant-wayal-stringhash/portfile.cmake b/vcpkg/ports/sushant-wayal-stringhash/portfile.cmake new file mode 100644 index 0000000..f393fdf --- /dev/null +++ b/vcpkg/ports/sushant-wayal-stringhash/portfile.cmake @@ -0,0 +1,14 @@ +# Header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO sushant-wayal/stringhash + REF v1.1.0 + SHA512 AA87E56BA37AD0155307376C2778E327D37F7B6E26C67A83796B9294B484E790D7403EC8C444D8D1391343A68EB03D1E358EB664E4A2DB744FD172097B68DAB5 + HEAD_REF main +) + +# Install headers directly - they're already in the right namespace structure +file(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +# Install license +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/sushant-wayal-stringhash/vcpkg.json b/vcpkg/ports/sushant-wayal-stringhash/vcpkg.json new file mode 100644 index 0000000..a2efc71 --- /dev/null +++ b/vcpkg/ports/sushant-wayal-stringhash/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "sushant-wayal-stringhash", + "version": "1.1.0", + "description": "A high-performance C++ header-only library for string hashing with rolling hash functionality", + "homepage": "https://github.com/sushant-wayal/stringhash", + "documentation": "https://github.com/sushant-wayal/stringhash#readme", + "license": "MIT" +} |