opam-version: "2.0"
synopsis:
  "Bindings to the Perl Compatibility Regular Expressions library (version 2)"
description: """\
pcre2-ocaml offers library functions for string pattern matching and
substitution, similar to the functionality offered by the Perl language."""
maintainer: "Chet Murthy <chetsky@gmail.com>"
authors: "Markus Mottl <markus.mottl@gmail.com>"
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/camlp5/pcre2-ocaml"
bug-reports: "https://github.com/camlp5/pcre2-ocaml/issues"
depends: [
  "dune" {>= "2.7"}
  "ocaml" {>= "4.08"}
  "dune-compiledb"
  "dune-configurator"
  "conf-libpcre2-8" {build}
  "ounit2" {with-test}
  "odoc" {with-doc}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test & ocaml:version >= "4.13.0"}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/camlp5/pcre2-ocaml.git"
url {
  src: "https://github.com/camlp5/pcre2-ocaml/archive/refs/tags/8.0.4.tar.gz"
  checksum:
    "sha512=cafe7c61f4aa90063fe7cb12a50905dbf0cfaa1636456cca25e2f3bf6a385b3d23618b451c6e986970c310f7ac20e13c3b8ba76ee579288849298eb7737797ce"
}
x-maintenance-intent: ["(latest)"]
