[rapidfuzz] new port (#27133)

This commit is contained in:
Nick 2022-10-09 23:00:18 +02:00 committed by GitHub
parent cb423b30a0
commit 083f103cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO maxbachmann/rapidfuzz-cpp
REF 87ee0dd61289fa6d7d0d2b5716f5363ee6b38fb7 # rapidfuzz-1.8.0
SHA512 c1d7c69a291e381453ccad4053353c75fa94288e850183f0b133f617e2b77cae80c9989753fed236e196eb445d821af5dd7e329acbe4994d5a96ab1318af9cf9
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/")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -0,0 +1,17 @@
{
"name": "rapidfuzz",
"version": "1.8.0",
"description": "Rapid fuzzy string matching library for C++17 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
}
]
}

View File

@ -6368,6 +6368,10 @@
"baseline": "8.64",
"port-version": 0
},
"rapidfuzz": {
"baseline": "1.8.0",
"port-version": 0
},
"rapidjson": {
"baseline": "2022-06-28",
"port-version": 3

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e4ccc785af13a54ced4b4333612323f98a85b68b",
"version": "1.8.0",
"port-version": 0
}
]
}