opam-version: "2.0" maintainer: "Markus Mottl " authors: [ "Markus Mottl " ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "http://mmottl.github.io/pcre-ocaml" dev-repo: "git+https://github.com/mmottl/pcre-ocaml.git" bug-reports: "https://github.com/mmottl/pcre-ocaml/issues" build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test} ["ocaml" "setup.ml" "-build"] {with-test} ["ocaml" "setup.ml" "-test"] {with-test} ["ocaml" "setup.ml" "-doc"] {with-doc} ] install: ["ocaml" "setup.ml" "-install"] remove: [ ["ocamlfind" "remove" "pcre"] ] depends: [ "ocaml" {>= "3.12" & < "5.0"} "base-bytes" "ocamlfind" {build & >= "1.5"} "ocamlbuild" {build & != "0.9.0"} "conf-libpcre" ] depexts: [ ["ocaml-ocamldoc"] {os-distribution = "centos"} ["ocaml-ocamldoc"] {os-distribution = "fedora"} ["ocaml-ocamldoc"] {os-family = "suse" | os-family = "opensuse"} ] 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.""" flags: light-uninstall url { src: "https://github.com/mmottl/pcre-ocaml/releases/download/v7.2.3/pcre-ocaml-7.2.3.tar.gz" checksum: [ "sha256=6339694dbeb706c5097180ed1d79b2dae681bf155a4780a7909af49b0e6f4666" "md5=90b503355160d7422a7c3ef1623e6444" ] }