opam-version: "2.0"
authors: "Simon Cruanes"
maintainer: "simon.cruanes@inria.fr"
build: [
  [
    "./configure"
    "--prefix"
    prefix
    "--%{base-threads:enable}%-thread"
    "--disable-bench"
    "--disable-tests"
    "--%{base-bigarray:enable}%-bigarray"
    "--%{sequence:enable}%-advanced"
    "--%{base-unix:enable}%-unix"
    "--enable-docs"
  ]
  [make "build"]
  [make "test"] {with-test}
  [make "doc"] {with-doc}
]
install: [
    [make "install"]
]
remove: [
    ["ocamlfind" "remove" "containers"]
]
depends: [
  "ocaml" {>= "4.00.0" & < "4.08.0"}
  "ocamlfind" {build}
  "base-bytes"
  "cppo" {build}
  "ocamlbuild" {build}
]
depopts: [ "sequence" "base-bigarray" "base-unix" "base-threads" ]
conflicts: [ "sequence" {>= "0.6"} ]
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/"
post-messages: [
"Quiet release, adding a few goodies to CCRandom and CCFormat mostly.
breaking changes: removing deprecated functions and modules (see changelog).

change log: https://github.com/c-cube/ocaml-containers/blob/0.15/CHANGELOG.adoc"
]
synopsis:
  "A modular extension of the OCaml standard library with a focus on data structures."
description: """
Containers is an extension of OCaml's standard library (under BSD license)
focused on data structures, combinators and iterators, without dependencies on
unix, str or num. 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 sub-libraries for dealing with strings, helpers for unix,
threads, and S-expressions."""
flags: light-uninstall
url {
  src: "https://github.com/c-cube/ocaml-containers/archive/0.15.tar.gz"
  checksum: "md5=6ffc33bd651d6ed7afc71a459dec08fe"
}
