Add port foonathan-lexy (#28658)

This commit is contained in:
Martin Stump 2023-01-04 21:53:49 +01:00 committed by GitHub
parent b353cc2ce0
commit a140f37ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,31 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO foonathan/lexy
REF "v${VERSION}"
SHA512 9818882bd83e19a0087ced3c209ae13645df675f1c5cb8f67f06d0993de9d19dadbc7684147abe9236fde1f688e0e539dc519d4198a3e3b5d247137a2675bd77
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DLEXY_BUILD_BENCHMARKS=OFF
-DLEXY_BUILD_EXAMPLES=OFF
-DLEXY_BUILD_TESTS=OFF
-DLEXY_BUILD_DOCS=OFF
-DLEXY_BUILD_PACKAGE=OFF
-DLEXY_ENABLE_INSTALL=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME lexy
CONFIG_PATH lib/cmake/lexy
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -0,0 +1,18 @@
{
"name": "foonathan-lexy",
"version": "2022.12.0",
"description": "C++ parsing DSL",
"homepage": "https://github.com/foonathan/lexy",
"license": "BSL-1.0",
"supports": "x64 | arm64",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2432,6 +2432,10 @@
"baseline": "2.14.1",
"port-version": 1
},
"foonathan-lexy": {
"baseline": "2022.12.0",
"port-version": 0
},
"foonathan-memory": {
"baseline": "2019-07-21",
"port-version": 2

View File

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