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: [
  ["jbuilder" "subst" "-p" name]{pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
]

depends: [
  "ocaml" {>= "4.04"}
  "base-bytes"
  "conf-libpcre" {build}
  "base" {build & < "v0.15"}
  "stdio" {build & < "v0.15"}
  "configurator" {build & < "v0.15"}
  "jbuilder" {>= "1.0+beta10"}
]
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.4/pcre-7.3.4.tbz"
  checksum: "md5=fc7b7b092c38bdbdb0b679ff3af2ff68"
}
