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 = "macos" | os = "linux" | os = "freebsd" | os = "bsd" | os = "unix" | os = "cygwin"} ["mv" "config/Makefile.win32" "config/Makefile"] {os = "win32"} [make "all"] ] patches: [ "cpp-location.diff" "disable-fatal-warn-31.diff" {ocaml:version >= "4.03"} "build-dll.diff" ] 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.14"} ] available: [ os != "win32" & os != "cygwin" ] url { src: "https://github.com/ocaml/opam-source-archives/raw/main/camlidl.1.05.tar.gz" checksum: [ "sha256=857ed5bd3b2f99c62813070e1a5b4b6375e837c6815f4ad956baeb6f8c660311" "md5=4cfb863bc3cbdc1af2502042c45cc675" ] } 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 "cpp-location.diff" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/cpp-location.diff" checksum: [ "sha256=ab10e54eebb663643f8c27d6d71a4e5ea2debaa6d9d5133d5fab68ae1f0d8ed2" "md5=bf3ee8e555285ec9140894cf6b0b19a8" ] } extra-source "camlidl.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/camlidl.install.1.05" checksum: [ "sha256=20ff1556125239c931f73525414bd136ef5ff5612459ef20a93f9947b4eae4d3" "md5=32bff4ff902ef2283abaf54022f4c890" ] } extra-source "build-dll.diff" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/build-dll.diff" checksum: [ "sha256=2d6566f1dac431e9a4b3afd247431e502f46b435889d9d41e5b9f0cfe1cd1f89" "md5=2bb0e37bc876bce7b3f1524db1df8ccc" ] } extra-source "META" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlidl/META.1.05" checksum: [ "sha256=da9742a62cefcd2a9c792af8baa449e28f88381a41bcd75c56f98f52c7acbc5b" "md5=66b8e0b9187f7b2d25301e431ff779d9" ] }