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"
dev-repo: "git+https://github.com/thvnx/mlmpfr.git"
build: [
  ["cc" "test.c" "-lmpfr" "-o" "test_installed"]
  ["./test_installed"]
  ["oasis" "setup"]
  ["./configure" "--prefix=%{prefix}%"]
  [make]
]
install: [make "install"]
remove:  ["ocamlfind" "remove" "mlmpfr"]
depends: [
  "ocaml" {>= "4.04"}
  "ocamlfind"
  "oasis"
]
depexts: [
  ["libmpfr-dev"] {os-family = "debian"}
]
x-ci-accept-failures: ["debian-unstable"]
post-messages: [
  "Make sure you had MPFR version 4.0.1 installed on your system." {failure}
]
synopsis: "OCaml C bindings for MPFR-4.0.1"
flags: light-uninstall
url {
  src: "https://github.com/thvnx/mlmpfr/archive/mlmpfr.4.0.1.tar.gz"
  checksum: "md5=b1b1299538ad0fffe0249a40a26d75f2"
}
description: """
The package provides bindings for MPFR-4.0.1.

You'll need to have MPFR-4.0.1 installed on your system.
See opam info mlmpfr for all available versions."""
extra-files: ["test.c" "md5=254413af53ad6166094d2f4fd7942135"]
