diff --git a/packages/mlgmpidl/mlgmpidl.1.2.15-1/opam b/packages/mlgmpidl/mlgmpidl.1.2.15-1/opam new file mode 100644 index 00000000000..65a612acd62 --- /dev/null +++ b/packages/mlgmpidl/mlgmpidl.1.2.15-1/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +authors: ["Bertrand Jeannet" "Nicolas Berthier"] +maintainer: "Nicolas Berthier " +dev-repo: "git+https://github.com/nberth/mlgmpidl.git" +bug-reports: "https://github.com/nberth/mlgmpidl/issues" +homepage: "https://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/" +license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" +build: [ + [ + "sed" + "-ib" + "-e" + "s/checkprefix \"\\$cc \\$cflags\" mpfr\\.h/checkprefix \"\\$cc \\$cflags -I\\$gmp_prefix\\/include\" mpfr.h/g" + "configure"] {os = "macos" & os-distribution = "homebrew"} + ["sh" "-exec" "./configure --absolute-dylibs --mpfr-prefix ${HOMEBREW_PREFIX:-/opt/homebrew}/opt/mpfr --gmp-prefix ${HOMEBREW_PREFIX:-/opt/homebrew}/opt/gmp"] { os = "macos" & os-distribution = "homebrew" } + ["sh" "./configure" "--absolute-dylibs" {os = "macos"} ] { !(os = "macos"& os-distribution = "homebrew") } + [make] +] +install: [ + [make "install"] +] +depends: [ + "ocaml" {>= "3.12.1"} + "ocamlfind" {build & >= "1.5.6"} + "camlidl" {!= "1.10"} + "conf-gmp" + "conf-mpfr" + "conf-perl" {build} + "bigarray-compat" +] +conflicts: [ + "mlgmp" + "apron" {= "20140725"} + "apron" {= "20150518"} +] +synopsis: "OCaml interface to the GMP library" +url { + src: "https://github.com/nberth/mlgmpidl/archive/1.2.15-1.tar.gz" + checksum: "md5=fba69df33295a427e093cad67114a5d6" +} +x-ci-accept-failures: [ + "oraclelinux-8" "oraclelinux-9" "alpine-3.19" +]