opam-version: "2.0" maintainer: "Nicolas Berthier " authors: ["Xavier Leroy"] homepage: "https://github.com/xavierleroy/camlidl" dev-repo: "git+https://github.com/xavierleroy/camlidl.git" bug-reports: "https://github.com/xavierleroy/camlidl/issues" license: [ "QPL-1.0 WITH OCaml-LGPL-linking-exception" "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception" ] build: [ ["mv" "config/Makefile.unix" "config/Makefile"] {os != "win32"} ["mv" "config/Makefile.mingw" "config/Makefile"] {os = "win32"} [make "all"] ] patches: [ "disable-fatal-warn-31.diff" {ocaml:version >= "4.03"} ] synopsis: "Stub code generator for OCaml" description: """ CamlIDL is a stub code generator for OCaml. It automates the generation of C stub code required for the Caml/C interface, based on an MIDL specification. Also provides some support for Microsoft's COM software components.""" depends: [ "ocaml" {>= "4.03" & < "5.0"} ] conflicts: [ "ocaml-option-bytecode-only" ] available: [ os != "win32" & os != "cygwin" ] url { src: "https://github.com/xavierleroy/camlidl/archive/camlidl107.tar.gz" checksum: [ "sha256=aa00c826017ba5d56f7bbed4a1c2e3ab98318e32dd6cdff849a3bffb85597961" "md5=b3cd57df6713668632d2f274e30b6ded" ] } extra-source "disable-fatal-warn-31.diff" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/disable-fatal-warn-31.diff" checksum: [ "sha256=a7d14bd050c15a0b12472358952a889ad6703ed11350f40e7560eb29b0b33079" "md5=750eef544a6a4f4835b819ca8d740924" ] } extra-source "camlidl.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/camlidl.install.1.07" checksum: [ "sha256=29d977190a114e7763f4ee2c7d86e128bb3d1cf6475c41ef649eb70507efbf17" "md5=cf56e14faed046880b7c9d0f4cd737f1" ] } extra-source "META" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/META.1.07" checksum: [ "sha256=c3e2f5ddca3d5dcfd9f7c38ee6aeab2c0b1bc6f07d3e18543d063f2e08e6ef24" "md5=df2fdae08d486c43311b0a7b8a9ca38c" ] }