opam-version: "2.0"
maintainer: "markus.mottl@gmail.com"
authors: [ "Markus Mottl <markus.mottl@gmail.com>" ]
license: "LGPL-2.1-or-later with OCaml-LGPL-linking-exception"
homepage: "http://mmottl.github.io/res"
bug-reports: "https://github.com/mmottl/res/issues"
dev-repo: "git+https://github.com/mmottl/res.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [
  ["ocamlfind" "remove" "res"]
]
depends: [
  "ocaml" {>= "3.12"}
  "base-bytes"
  "ocamlfind" {>= "1.5"}
  "ocamlbuild" {build}
]
patches: [
  "build_with_trunk.patch"
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "RES - Library for resizable, contiguous datastructures"
description:
  "RES is a library containing resizable arrays, strings, and bitvectors."
flags: light-uninstall
extra-files: [
  "build_with_trunk.patch" "md5=ae1deaa2545a338bd9659e51ac3c85e9"
]
url {
  src:
    "https://github.com/mmottl/res/releases/download/v4.0.7/res-4.0.7.tar.gz"
  checksum: "md5=4c5f30d1fcaced42df03c858b2be5c3a"
}
