opam-version: "2.0"
maintainer: "Christophe.Troestler@umons.ac.be"
authors: [ "Christophe Troestler"
           "Vincent Hugot" ]
license: "LGPL-3.0-only with OCaml-LGPL-linking-exception"
homepage: "https://github.com/Chris00/ANSITerminal"
dev-repo: "git+https://github.com/Chris00/ANSITerminal.git"
bug-reports: "https://github.com/Chris00/ANSITerminal/issues"
tags: [ "terminal"  ]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["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" "ANSITerminal"]]
depends: [
  "ocaml" {< "4.05.0"}
  "base-unix"
  "ocamlbuild" {build}
  "ocamlfind" {build}
]
synopsis: "Basic control of ANSI compliant terminals and the windows shell."
description: """
ANSITerminal is a module allowing to use the colors and cursor
movements on ANSI terminals. It also works on the windows shell (but
this part is currently work in progress)."""
flags: light-uninstall
url {
  src:
    "https://download.ocamlcore.org/ansiterminal/ansiterminal/0.6.2/ANSITerminal-0.6.2.tar.gz"
  checksum: "md5=b7a7b7cce64eabf224d05ed9f2b9d471"
}
