vcpkg/ports/pcre2/vcpkg.json
Theodore Tsirpanis acc2fb6cce
[pcre2] Fix CMake integration. (#31928)
* Remove dependencies to bzip2 and zlib.

They are used only by pcre2grep which we don't build in the port.

* Fix CMake integration.

The patch has been submitted upstream in PCRE2Project/pcre2#260.

* Add a usage file and use `vcpkg_install_copyright`.

* Bring back patching pcre2.h.

* Bump port version.

* Update version database.

* Fix CRLF damage.

* Fix target capitalization.

* Update version database.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-09-22 11:35:42 -07:00

40 lines
879 B
JSON

{
"name": "pcre2",
"version": "10.42",
"port-version": 1,
"description": "Regular Expression pattern matching using the same syntax and semantics as Perl 5.",
"homepage": "https://github.com/PCRE2Project/pcre2",
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"platform-default-features"
],
"features": {
"jit": {
"description": "Enable support for Just-In-Time compiling regex matchers",
"supports": "!emscripten"
},
"platform-default-features": {
"description": "Enable default features",
"dependencies": [
{
"name": "pcre2",
"features": [
"jit"
],
"platform": "!emscripten"
}
]
}
}
}