opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
authors: [ "Markus Mottl <markus.mottl@gmail.com>" ]
license: "LGPL-2.1-or-later with OCaml-LGPL-linking-exception"
homepage: "https://mmottl.github.io/pcre-ocaml"
doc: "https://mmottl.github.io/pcre-ocaml/api"
dev-repo: "git+https://github.com/mmottl/pcre-ocaml.git"
bug-reports: "https://github.com/mmottl/pcre-ocaml/issues"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
]

depends: [
  "ocaml" {>= "4.04"}
  "dune" {>= "1.4.0"}
  "dune-configurator"
  "conf-libpcre" {build}
  "base" {build & < "v0.15"}
  "base-bytes"
]

synopsis: "Bindings to the Perl Compatibility Regular Expressions library"

description: """
pcre-ocaml offers library functions for string pattern matching and
substitution, similar to the functionality offered by the Perl language."""
url {
  src:
    "https://github.com/mmottl/pcre-ocaml/releases/download/7.3.5/pcre-7.3.5.tbz"
  checksum: "md5=f1ad11d393d2df08c03c0e7eb0ce85e4"
}
