File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
packages/zarith/zarith.1.13 Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ name: "zarith"
3
+ maintainer: "Xavier Leroy <xavier.leroy@inria.fr>"
4
+ authors: [
5
+ "Antoine Miné"
6
+ "Xavier Leroy"
7
+ "Pascal Cuoq"
8
+ ]
9
+ homepage: "https://github.com/ocaml/Zarith"
10
+ bug-reports: "https://github.com/ocaml/Zarith/issues"
11
+ dev-repo: "git+https://github.com/ocaml/Zarith.git"
12
+ license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"
13
+ build: [
14
+ ["./configure"] {os != "openbsd" & os != "freebsd" & os != "macos"}
15
+ [
16
+ "sh"
17
+ "-exc"
18
+ "LDFLAGS=\"$LDFLAGS -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/usr/local/include\" ./configure"
19
+ ] {os = "openbsd" | os = "freebsd"}
20
+ [
21
+ "sh"
22
+ "-exc"
23
+ "LDFLAGS=\"$LDFLAGS -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/local/include -I/usr/local/include\" ./configure"
24
+ ] {os = "macos" & os-distribution != "homebrew"}
25
+ [
26
+ "sh"
27
+ "-exc"
28
+ "LDFLAGS=\"$LDFLAGS -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/local/include -I/usr/local/include\" ./configure"
29
+ ] {os = "macos" & os-distribution = "homebrew" & arch = "x86_64" }
30
+ [
31
+ "sh"
32
+ "-exc"
33
+ "LDFLAGS=\"$LDFLAGS -L/opt/homebrew/lib\" CFLAGS=\"$CFLAGS -I/opt/homebrew/include\" ./configure"
34
+ ] {os = "macos" & os-distribution = "homebrew" & arch = "arm64" }
35
+ [make]
36
+ ]
37
+ install: [
38
+ [make "install"]
39
+ ]
40
+ depends: [
41
+ "ocaml" {>= "4.04.0"}
42
+ "ocamlfind"
43
+ "conf-gmp"
44
+ ]
45
+ synopsis:
46
+ "Implements arithmetic and logical operations over arbitrary-precision integers"
47
+ description: """
48
+ The Zarith library implements arithmetic and logical operations over
49
+ arbitrary-precision integers. It uses GMP to efficiently implement
50
+ arithmetic over big integers. Small integers are represented as Caml
51
+ unboxed integers, for speed and space economy."""
52
+
53
+ url {
54
+ src: "https://github.com/ocaml/Zarith/archive/release-1.13.tar.gz"
55
+ checksum: [
56
+ "md5=b3529c5de89ab8c026943f73f6195ad9"
57
+ "sha512=a562fa8bf4f5ef44f2af6b9a8f028182fd184c89f8c41455acdc02851cc0fc3124d3776c0de930e8d09cd5d6d88cc689f80f4b597068a0611131f45d057b101f"
58
+ ]
59
+ }
You can’t perform that action at this time.
0 commit comments