opam-version: "2.0"
maintainer: "thomas.braibant@gmail.com"
authors: "Xavier Leroy"
homepage: "https://forge.ocamlcore.org/projects/zarith"
build: [
  ["./configure"]
  [make]
]
remove: [["ocamlfind" "remove" "zarith"]]
depends: [
  "ocaml" {< "4.03.0"}
  "conf-gmp"
  "ocamlfind"
]
depexts: ["perl"] {os-distribution = "alpine"}
install: [make "install"]
synopsis:
  "Implements arithmetic and logical operations over arbitrary-precision integers"
description: """
The Zarith library implements arithmetic and logical operations over
arbitrary-precision integers. It uses GMP to efficiently implement
arithmetic over big integers. Small integers are represented as Caml
unboxed integers, for speed and space economy."""
flags: light-uninstall
url {
  src: "https://download.ocamlcore.org/zarith/Zarith/1.1/zarith-1.1.tgz"
  checksum: "md5=457fcb896da690d3d6d2bf6c320f3612"
}
