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/rapidfuzz | |
Diffstat (limited to 'vcpkg/ports/rapidfuzz')
| -rw-r--r-- | vcpkg/ports/rapidfuzz/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/rapidfuzz/vcpkg.json | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/rapidfuzz/portfile.cmake b/vcpkg/ports/rapidfuzz/portfile.cmake new file mode 100644 index 0000000..7ebf151 --- /dev/null +++ b/vcpkg/ports/rapidfuzz/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO maxbachmann/rapidfuzz-cpp + REF "v${VERSION}" + SHA512 51d3e38ca0ec2592ee5562208180bc11d6e4b4663405d3541768c060e6fef72cb35338a53c03e7411601123e42480b35749fb59530f52dfa99b5ed18d21aa5ec + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/rapidfuzz/vcpkg.json b/vcpkg/ports/rapidfuzz/vcpkg.json new file mode 100644 index 0000000..37cbd4f --- /dev/null +++ b/vcpkg/ports/rapidfuzz/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "rapidfuzz", + "version": "3.3.3", + "description": "Rapid fuzzy string matching library for C++ using the Levenshtein Distance.", + "homepage": "https://github.com/maxbachmann/rapidfuzz-cpp", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |