this repo has no description
1opam-version: "2.0"
2maintainer: "Xavier Leroy <xavier.leroy@inria.fr>"
3authors: [
4 "Antoine Miné"
5 "Xavier Leroy"
6 "Pascal Cuoq"
7]
8homepage: "https://github.com/ocaml/Zarith"
9bug-reports: "https://github.com/ocaml/Zarith/issues"
10dev-repo: "git+https://github.com/ocaml/Zarith.git"
11build: [
12 ["./configure"] {os != "openbsd" & os != "freebsd" & os != "macos"}
13 [
14 "sh"
15 "-exc"
16 "LDFLAGS=\"$LDFLAGS -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/usr/local/include\" ./configure"
17 ] {os = "openbsd" | os = "freebsd"}
18 [
19 "sh"
20 "-exc"
21 "LDFLAGS=\"$LDFLAGS -L/opt/homebrew/lib -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/homebrew/include -I/opt/local/include -I/usr/local/include\" ./configure"
22 ] {os = "macos"}
23 [make]
24]
25install: [
26 [make "install"]
27]
28depends: [
29 "ocaml"
30 "ocamlfind" {build}
31 "conf-gmp"
32 "conf-perl" {build}
33]
34synopsis:
35 "Implements arithmetic and logical operations over arbitrary-precision integers"
36description: """
37The Zarith library implements arithmetic and logical operations over
38arbitrary-precision integers. It uses GMP to efficiently implement
39arithmetic over big integers. Small integers are represented as Caml
40unboxed integers, for speed and space economy."""
41url {
42 src: "https://github.com/ocaml/Zarith/archive/release-1.11.tar.gz"
43 checksum: [
44 "md5=95e8cb358b70f156328c552f1bde8d81"
45 "sha512=7c0645d63511d42b763cd0a33b3fb139c26d23ae0cf59cd651388644cb8e7c43a83265d55d69ff3320d8c4586c4f8dbd9c3412197bab2e110c38e6e7dac88b83"
46 ]
47}