/
opam
48 lines (47 loc) · 1.18 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
maintainer: "Xavier Leroy <xavier.leroy@inria.fr>"
authors: [
"Valérie Ménissier-Morain"
"Pierre Weis"
"Xavier Leroy"
]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/ocaml/num/"
bug-reports: "https://github.com/ocaml/num/issues"
dev-repo: "git+https://github.com/ocaml/num.git"
build: [
[make]
]
install: [
["ocamlfind" "remove" "num"]
["ocamlfind" "remove" "num-top"]
[
make
"install" {!ocaml:preinstalled}
"findlib-install" {ocaml:preinstalled}
]
]
remove: [
make
"uninstall" {!ocaml:preinstalled}
"findlib-uninstall" {ocaml:preinstalled}
]
depends: [
"ocaml" {>= "4.06.0"}
"ocamlfind" {build & >= "1.7.3"}
]
conflicts: [
"base-num"
"ocaml-option-bytecode-only"
]
patches: [ "findlib-install.patch" "installation-warning.patch" ]
synopsis:
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
extra-files: [
["installation-warning.patch" "md5=93c92bf6da6bae09d068da42b1bbaaac"]
["findlib-install.patch" "md5=02a16b8a6843f9995dc129035d56efb9"]
]
url {
src: "https://github.com/ocaml/num/archive/v1.0.tar.gz"
checksum: "md5=a4c359108d0b885bf43909e705b21291"
}