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 3.1.6 installed on your system.
   If you need support for an older MPFR release, please contact me." {failure}
]
synopsis: "OCaml C bindings for MPFR-3.1.6"
flags: light-uninstall
url {
  src: "https://github.com/thvnx/mlmpfr/archive/mlmpfr.3.1.6.tar.gz"
  checksum: "md5=2eac951fdaabfd2c28ebe185c46cf3ba"
}
description: """
The package provides bindings for MPFR-3.1.6.

You'll need to have MPFR-3.1.6 (or older compatible version) installed on your system.
See opam info mlmpfr for all available versions.

If you need support for an older MPFR release, please contact me."""
extra-files: ["test.c" "md5=3fbe3533d45ca8bc1bdb96cf984b24cb"]
