opam-version: "2.0"
maintainer:   "rudi.grinberg@gmail.com"
authors:      "Rudi Grinberg"
homepage:     "https://github.com/rgrinberg/stringext"
bug-reports:  "https://github.com/rgrinberg/stringext/issues"
license:      "MIT"
dev-repo: "git+https://github.com/rgrinberg/stringext.git"
build: [
  ["ocaml" "setup.ml" "-configure"]
  ["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" "stringext"]

depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "ounit" {with-test}
  "qtest" {with-test & >= "2.2"}
  "base-bytes"
]
synopsis: "Extra string functions for OCaml"
description: """
Provides a single module named Stringext that provides a grab bag of often used
but missing string functions from the stdlib. E.g, split, full_split, cut,
rcut, etc."""
flags: light-uninstall
url {
  src: "https://github.com/rgrinberg/stringext/archive/v1.4.3.tar.gz"
  checksum: "md5=ab9796add8e391b5a405ef392de1c5d3"
}
