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} "conf-libpcre" "ocamlbuild" {build & != "0.9.0"} ] 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.1.6/pcre-ocaml-7.1.6.tar.gz" checksum: [ "sha256=7f88d1fb44a394026f20c692170d36f7331cbeea20ca95b841334b8c188efbef" "md5=d5c2230bc8123ed382d018737f26a0d5" ] } extra-source "pcre.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/pcre/pcre.install" checksum: [ "sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b" "md5=0d1b822c897681cf54b3e1aed52dda99" ] } extra-source "_oasis_remove_.ml" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/pcre/_oasis_remove_.ml" checksum: [ "sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916" "md5=6100ca146fa97d2196eb49a2631d0796" ] }