opam-version: "2.0"
authors: "Simon Cruanes"
maintainer: "simon.cruanes@inria.fr"
build: [
  [
    "./configure"
    "--prefix"
    prefix
    "--%{base-threads:enable}%-thread"
    "--disable-bench"
    "--disable-tests"
    "--%{lwt:enable}%-lwt"
    "--%{base-bigarray:enable}%-bigarray"
    "--%{sequence:enable}%-advanced"
    "--%{base-unix:enable}%-unix"
    "--enable-docs"
    "--enable-misc"
  ]
  [make "build"]
  [make "test"] {with-test}
  [make "doc"] {with-doc}
]
install: [
    [make "install"]
]
remove: [
    ["ocamlfind" "remove" "containers"]
]
depends: [
  "ocaml" {>= "4.00.0" & < "4.06.0"}
  "ocamlfind" {build}
  "base-bytes"
  "cppo" {build}
  "ocamlbuild" {build}
]
depopts: [ "lwt" "sequence" "base-bigarray" "base-unix" "base-threads" ]
conflicts: [
  "lwt" {>= "4.0.0"}
]
tags: [ "stdlib" "containers" "iterators" "list" "heap" "queue" ]
homepage: "https://github.com/c-cube/ocaml-containers/"
doc: "http://cedeela.fr/~simon/software/containers/"
dev-repo: "git+https://github.com/c-cube/ocaml-containers.git"
bug-reports: "https://github.com/c-cube/ocaml-containers/issues/"
synopsis:
  "A modular extension of the OCaml standard library with a focus on data structures."
description: """
Containers is a standard library (BSD license) focused on data structures,
combinators and iterators, without dependencies on unix. Every module is
independent and is prefixed with 'CC' in the global namespace. Some modules
extend the stdlib (e.g. CCList provides safe map/fold_right/append, and
additional functions on lists).

It also features optional libraries for dealing with strings, helpers for unix,
threads, lwt and a `misc` library full of experimental ideas (not stable, not
necessarily usable)."""
flags: light-uninstall
url {
  src: "https://github.com/c-cube/ocaml-containers/archive/0.10.tar.gz"
  checksum: "md5=f67fee01cbb7b78a60f22d3c70e8c113"
}
