# This file created by conda-build 3.17.8
# meta.yaml template originally from:
# C:\ci\containers\00003fjorkl\tmp\build\80754af9\rsync-recipes\pcre-8.44-on-winbuilder, last modified Thu Jun 25 02:34:59 2020
# ------------------------------------------------

package:
    name: pcre
    version: '8.44'
source:
    patches:
        - 0001-Define-snprintf-for-old-VS.patch
        - 0002-Workaround-CMake-FIND_PACKAGE-looking-on-PATH-misfeature.patch
    sha256: aecafd4af3bd0f3935721af77b889d9024b2e01d96b58471bd91a3063fb47728
    url: https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz
build:
    number: '0'
    run_exports:
        - pcre >=8.44,<9.0a0
    string: ha925a31_0
requirements:
    build:
        - cmake 3.17.2 h33f27b4_0
        - m2-msys2-runtime 2.5.0.17080.65c939c 3
        - m2-patch 2.7.5 2
        - msys2-conda-epoch 20160418 1
        - vs2015_runtime 14.16.27012 hf0eaf9b_2
        - vs2017_win-64 19.16.27032.1 hb4161e2_2
        - vswhere 2.7.1 h21ff451_0
    host:
        - vc 14.1 h0510ff6_4
        - vs2015_runtime 14.16.27012 hf0eaf9b_2
    run:
        - vc >=14.1,<15.0a0
        - vs2015_runtime >=14.16.27012,<15.0a0
test:
    commands:
        - pcregrep --help
        - pcretest --help
        - if not exist %LIBRARY_INC%\pcre.h exit 1
        - if not exist %LIBRARY_INC%\pcre_scanner.h exit 1
        - if not exist %LIBRARY_INC%\pcre_stringpiece.h exit 1
        - if not exist %LIBRARY_INC%\pcrecpp.h exit 1
        - if not exist %LIBRARY_INC%\pcrecpparg.h exit 1
        - if not exist %LIBRARY_INC%\pcreposix.h exit 1
        - if not exist %LIBRARY_LIB%\pcre.lib exit 1
        - if not exist %LIBRARY_BIN%\pcre.dll exit 1
        - if not exist %LIBRARY_LIB%\pcreposix.lib exit 1
        - if not exist %LIBRARY_BIN%\pcreposix.dll exit 1
        - if not exist %LIBRARY_LIB%\pcrecpp.lib exit 1
        - if not exist %LIBRARY_BIN%\pcrecpp.dll exit 1
about:
    description: 'PCRE 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.

        '
    dev_url: http://vcs.pcre.org/pcre2/
    doc_source_url: https://vcs.pcre.org/pcre2/code/trunk/doc/?sortdir=down
    doc_url: http://www.pcre.org/original/doc/html/
    home: http://www.pcre.org/
    license: BSD 3-Clause
    license_family: BSD
    license_file: LICENCE
    summary: Regular expression pattern matching using the same syntax and semantics
        as Perl 5.
extra:
    copy_test_source_files: true
    final: true
    recipe-maintainers:
        - chenghlee
        - jakirkham
        - ocefpaf
        - saraedum
        - scopatz
        - sebastian-luna-valero
