this repo has no description
1opam-version: "2.0"
2maintainer: "Markus Mottl <markus.mottl@gmail.com>"
3authors: [ "Markus Mottl <markus.mottl@gmail.com>" ]
4license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
5homepage: "http://mmottl.github.io/pcre-ocaml"
6dev-repo: "git+https://github.com/mmottl/pcre-ocaml.git"
7bug-reports: "https://github.com/mmottl/pcre-ocaml/issues"
8build: [
9 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
10 ["ocaml" "setup.ml" "-build"]
11 ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
12 ["ocaml" "setup.ml" "-build"] {with-test}
13 ["ocaml" "setup.ml" "-test"] {with-test}
14 ["ocaml" "setup.ml" "-doc"] {with-doc}
15]
16install: ["ocaml" "setup.ml" "-install"]
17remove: [
18 ["ocamlfind" "remove" "pcre"]
19]
20depends: [
21 "ocaml" {>= "3.12" & < "5.0"}
22 "base-bytes"
23 "ocamlfind" {build & >= "1.5"}
24 "ocamlbuild" {build}
25 "conf-libpcre"
26 "ocamlbuild" {build & != "0.9.0"}
27]
28synopsis:
29 "Bindings to the Perl Compatibility Regular Expressions library"
30description: """
31pcre-ocaml offers library functions for string pattern matching and
32substitution, similar to the functionality offered by the Perl
33language."""
34flags: light-uninstall
35url {
36 src:
37 "https://github.com/mmottl/pcre-ocaml/releases/download/v7.1.6/pcre-ocaml-7.1.6.tar.gz"
38 checksum: [
39 "sha256=7f88d1fb44a394026f20c692170d36f7331cbeea20ca95b841334b8c188efbef"
40 "md5=d5c2230bc8123ed382d018737f26a0d5"
41 ]
42}
43extra-source "pcre.install" {
44 src:
45 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/pcre/pcre.install"
46 checksum: [
47 "sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b"
48 "md5=0d1b822c897681cf54b3e1aed52dda99"
49 ]
50}
51extra-source "_oasis_remove_.ml" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/pcre/_oasis_remove_.ml"
54 checksum: [
55 "sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916"
56 "md5=6100ca146fa97d2196eb49a2631d0796"
57 ]
58}