opam-version: "2.0"
maintainer: "vb@luminar.eu.org"
authors: "Jérémie Dimino"
homepage: "https://github.com/vbmithr/ocaml-text"
bug-reports: "https://github.com/vbmithr/ocaml-text/issues"
build: [
  [make "setup.exe"]
  ["./setup.exe" "-configure" "--%{pcre:enable}%-pcre" "--%{camlp4:enable}%-camlp4"]
  [make]
]
install: [make "install"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "base-bytes"
  "ocamlbuild" {build}
]
depopts: ["pcre" "camlp4"]
dev-repo: "git+https://github.com/vbmithr/ocaml-text"
doc: "https://vbmithr.github.io/ocaml-text/doc"
synopsis:
    "Library for dealing with \"text\", i.e. sequence of unicode characters, in a convenient way"
description:"""It supports:
  - character encoding/decoding using iconv
  - manipulation of text as UTF-8 encoded strings
  - localised text functions such as compare, upper, ...
  - human readable regular expression inside patterns
"""
url {
  src:
    "https://github.com/vbmithr/ocaml-text/releases/download/0.8.1/text-0.8.1.tbz"
  checksum: [
    "sha256=163b2cbc9f07915ea9093333b689f85fb6bcad3c4876222001f19c2016ee1d54"
    "sha512=b096d761fd664bb8a814bedf8d5454de305d82baf43d5e59528e04126d573c6c337e6b8bd7c58e647e7020f6dcb7d4bd42ddd2730296808de28bc556ccdea187"
  ]
}
