/
opam
30 lines (30 loc) · 981 Bytes
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
]
patches: ["install_fix.patch"]
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
extra-files: ["install_fix.patch" "md5=b48bb873c56ca0d53bb4ea689cd02887"]
url {
src: "https://download.ocamlcore.org/zarith/Zarith/1.2/zarith-1.2.tgz"
checksum: "md5=077c927f337f8a19b55fa086ed35eab1"
}