opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/mtime"
doc: "http://erratique.ch/software/mtime"
dev-repo: "git+http://erratique.ch/repos/mtime.git"
bug-reports: "https://github.com/dbuenzli/mtime/issues"
tags: [ "time" "monotonic" "system" "org:erratique" ]
license: "BSD-3-Clause"
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind" {build}
  "js_of_ocaml" {< "3.0"}
  "ocamlbuild" {build}
]
build: ["ocaml" "pkg/git.ml"]
install: [
  "ocaml"
  "pkg/build.ml"
  "native=%{ocaml:native}%"
  "native-dynlink=%{ocaml:native-dynlink}%"
  "jsoo=%{js_of_ocaml:installed}%"
]
synopsis: "Monotonic wall-clock time for OCaml"
description: """
Mtime is an OCaml module to access monotonic wall-clock time. It
allows to measure time spans without being subject to operating system
calendar time adjustments.

Mtime depends only on your platform system library. The optional
JavaScript support depends on [js_of_ocaml][1]. It is distributed
under the BSD3 license."""
url {
  src: "http://erratique.ch/software/mtime/releases/mtime-0.8.0.tbz"
  checksum: "md5=bd36b1821e1db62ccea5b47e6fb5be98"
}
