forked from thvnx/mlmpfr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmlmpfr.opam
37 lines (35 loc) · 1.28 KB
/
mlmpfr.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
opam-version: "2.0"
maintainer: "Laurent Thévenoux <lrnt@thvnx.com>"
authors: "Laurent Thévenoux <lrnt@thvnx.com>"
homepage: "https://github.com/thvnx/mlmpfr"
bug-reports: "https://github.com/thvnx/mlmpfr/issues"
license: "LGPL-3.0-only"
dev-repo: "git+https://github.com/thvnx/mlmpfr.git"
build: [
["cc" "mlmpfr_compatibility_test.c" "-lmpfr" "-o" "mlmpfr_compatibility_test"]
["./mlmpfr_compatibility_test"]
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.04"}
"dune" {>= "2.9"}
"conf-mpfr"
]
x-ci-accept-failures: ["debian-unstable"]
post-messages: [
"Make sure you had MPFR version 4.1.0 installed on your system." {failure}
]
synopsis: "OCaml C bindings for MPFR-4.1.0"
url {
src: "https://github.com/thvnx/mlmpfr/archive/refs/tags/mlmpfr.4.1.0-bugfix2.tar.gz"
checksum: "md5=20de14505f17e1c59841dab71261e9f5"
}
description: """
The package provides bindings for MPFR-4.1.0.
Warning: this bugfix2 version breaks backward compatibility since it renames the
Mpfr module into Mlmpfr. See thvnx#21 for more details.
You need to have MPFR-4.1.0 installed on your system. See opam info mlmpfr for
all available versions."""
extra-files: ["mlmpfr_compatibility_test.c"
"md5=34cf77d2aa08092d4bd94582594a26f2"]