# This file created by conda-build 25.5.0
# ------------------------------------------------

package:
  name: pcre2
  version: '10.46'
source:
  - url: https://github.com/PCRE2Project/pcre2/archive/refs/tags/pcre2-10.46.tar.gz
    sha256: ffde0c6ead457c4f8edcd8f9ce490bbabd30adabdfd179ecaddd320946cf3872
  - url: https://github.com/zherczeg/sljit/archive/e51eabbfb8eabc6526f56e4e88b29fb10d1ee048.tar.gz
    sha256: 5caf31959f4c2dfa9fdbaf290b0e16538527d929d5c1c5bd1a3e6df01436c1cf
    folder: deps/sljit
build:
  run_exports:
    - pcre2 >=10.46,<10.47.0a0
  number: 0
  string: h1321c63_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.44 h4bf12b8_1
    - binutils_linux-64 2.44 h4852527_1
    - bzip2 1.0.8 h4bc722e_7
    - c-ares 1.34.5 hb9d3cd8_0
    - ca-certificates 2025.8.3 hbd8a1cb_0
    - cmake 4.1.1 hc85cc9f_0
    - gcc_impl_linux-64 14.3.0 hd9e9e21_4
    - gcc_linux-64 14.3.0 h1382650_11
    - kernel-headers_linux-64 3.10.0 he073ed8_18
    - keyutils 1.6.3 hb9d3cd8_0
    - krb5 1.21.3 h659f571_0
    - ld_impl_linux-64 2.44 h1423503_1
    - libcurl 8.14.1 h332b0f4_0
    - libedit 3.1.20250104 pl5321h7949ede_0
    - libev 4.33 hd590300_2
    - libexpat 2.7.1 hecca717_0
    - libgcc 15.1.0 h767d61c_4
    - libgcc-devel_linux-64 14.3.0 h85bb3a7_104
    - libgcc-ng 15.1.0 h69a702a_4
    - libgomp 15.1.0 h767d61c_4
    - liblzma 5.8.1 hb9d3cd8_2
    - libnghttp2 1.64.0 h161d5f1_0
    - libsanitizer 14.3.0 hd08acf3_4
    - libssh2 1.11.1 hcf80075_0
    - libstdcxx 15.1.0 h8f9b012_4
    - libstdcxx-ng 15.1.0 h4852527_4
    - libuv 1.51.0 hb03c661_1
    - libzlib 1.3.1 hb9d3cd8_2
    - ncurses 6.5 h2d0b736_3
    - ninja 1.13.1 h171cf75_0
    - openssl 3.5.2 h26f9b46_0
    - rhash 1.4.6 hb9d3cd8_1
    - sysroot_linux-64 2.17 h0157908_18
    - tzdata 2025b h78e105d_0
    - zstd 1.5.7 hb8e6e7a_2
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h4bc722e_7
    - libgcc 15.1.0 h767d61c_4
    - libgcc-ng 15.1.0 h69a702a_4
    - libgomp 15.1.0 h767d61c_4
    - libzlib 1.3.1 hb9d3cd8_2
    - zlib 1.3.1 hb9d3cd8_2
  run:
    - __glibc >=2.17,<3.0.a0
    - bzip2 >=1.0.8,<2.0a0
    - libgcc >=14
    - libzlib >=1.3.1,<2.0a0
test:
  commands:
    - pcre2test --version
    - pcre2grep --version
    - pcre2-config --version
    - test -f ${PREFIX}/include/pcre2.h
    - test -f ${PREFIX}/include/pcre2posix.h
    - test -f ${PREFIX}/lib/libpcre2-posix${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libpcre2-posix${SHLIB_EXT}.3
    - test -f ${PREFIX}/lib/libpcre2-posix${SHLIB_EXT}.3.0.6
    - test -f ${PREFIX}/lib/libpcre2-8${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libpcre2-8${SHLIB_EXT}.0
    - test -f ${PREFIX}/lib/libpcre2-8${SHLIB_EXT}.0.14.0
    - test -f ${PREFIX}/lib/libpcre2-16${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libpcre2-16${SHLIB_EXT}.0
    - test -f ${PREFIX}/lib/libpcre2-16${SHLIB_EXT}.0.14.0
    - test -f ${PREFIX}/lib/libpcre2-32${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libpcre2-32${SHLIB_EXT}.0
    - test -f ${PREFIX}/lib/libpcre2-32${SHLIB_EXT}.0.14.0
    - test -f ${PREFIX}/lib/pkgconfig/libpcre2-8.pc
    - test -f ${PREFIX}/lib/pkgconfig/libpcre2-16.pc
    - test -f ${PREFIX}/lib/pkgconfig/libpcre2-32.pc
    - test -f ${PREFIX}/lib/pkgconfig/libpcre2-posix.pc
    - test -f ${PREFIX}/lib/cmake/pcre2/pcre2-config.cmake
    - test -f ${PREFIX}/lib/cmake/pcre2/pcre2-config-version.cmake
about:
  home: http://www.pcre.org/
  license: BSD-3-Clause
  license_family: BSD
  license_file: COPYING
  summary: Regular expression pattern matching using Perl 5 syntax and semantics.
  description: 'The PCRE library is a set of functions that implement regular expression
    pattern matching

    using the same syntax and semantics as Perl 5. PCRE has its own native API, as
    well as a set of

    wrapper functions that correspond to the POSIX regular expression API. The PCRE
    library is

    free, even for building proprietary software.

    '
  doc_url: http://www.pcre.org/current/doc/html/
extra:
  feedstock-name: pcre2
  recipe-maintainers:
    - dfornika
    - mariusvniekerk
    - xhochy
  final: true
  copy_test_source_files: true
  flow_run_id: azure_20250901.1.1
  remote_url: https://github.com/conda-forge/pcre2-feedstock
  sha: 2f1ae03cb6acdef03df8b3d0499bfad7719dbb27
