-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
46 lines (45 loc) · 1.5 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
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"}
"dune-configurator"
"conf-mpfr"
"odoc" {with-doc}
]
x-ci-accept-failures: ["debian-unstable"]
post-messages: [
"This version of mlmpfr requires MPFR >= 4.2.0 installed on your system." {failure}
]
synopsis: "OCaml C bindings for MPFR >= 4.2.0"
url {
src:
"https://github.com/thvnx/mlmpfr/archive/refs/tags/mlmpfr.4.2.0.tar.gz"
checksum: [
"sha256=1077a822f73daf69cc3f2aa921fafd0c3bc37425fed99179de6974f4f5307e8c"
"md5=c533de29431961d36f74c833f627f0c0"
]
}
description: """
The package provides bindings for the C MPFR library.
You need to have MPFR 4.2.0 or above installed on your system.
See opam info mlmpfr for all available versions."""
extra-source "mlmpfr_compatibility_test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/mlmpfr/mlmpfr_compatibility_test.c.4.2.0"
checksum: [
"sha256=14524626076073e9871b7936f799e07458325be8e87b316d3efe5c509da75f26"
"md5=c8f376dd139ff995a2afbbf8c2f30e6b"
]
}