opam-version: "2.0" maintainer: "David Allsopp " bug-reports: "https://github.com/ocaml/opam-repository/issues" dev-repo: "git+https://github.com/ocaml/ocaml.git" authors: [ "Xavier Leroy" "Jun Furuse" "J-M Geffroy" "Jacob Navia" "Pierre Weis" ] homepage: "https://ocaml.org" license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" build: [ ["sh" "./install.sh" "build" ocaml:preinstalled ocaml:lib ocaml:share _:share make "%{ocaml:native?allopt:}%"] ] install: [ ["sh" "./install.sh" "install" ocaml:preinstalled make _:lib stublibs "%{ocaml:native?installopt:}%"] ] depends: [ "conf-libX11" "ocaml" {= "3.09.2"} ] synopsis: "The OCaml graphics library" description: "Ensures that the OCaml graphics library is available, building it if needed." url { src: "https://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.2.tar.gz" checksum: [ "sha256=371b61b5ca0171602ce9d6fa3cd3c93660062370240ffd77c8ab28d924bf4bf5" "md5=dc4a298cfa8c65fe4e506a06fe514ccd" ] } extra-source "PR5477.patch" { src: "https://raw.githubusercontent.com/metastack/ocaml-legacy/master/PR5477-to-3.09.3.patch" checksum: [ "sha256=704e0887b91088f2d3940208dd5909ddc5906073eab53e3f03623738182cedb9" "md5=0431293b171ef2d09a5dd456dfe43629" ] } patches: ["PR5477.patch"] extra-source "install.sh" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/graphics/install.sh" checksum: [ "sha256=98f1fffd42e82b00260597e6ee7bda91450d1525de6d8593a04eac6b856a60fd" "md5=bcdb668c9cbc2e5b58aef6e185a9a845" ] } extra-source "graphics.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/graphics/graphics.install" checksum: [ "sha256=4b604df039a6d6a3b07e35313faf4ccfd4db301a74a7982c98d09b92cc71cc91" "md5=e9c9a65968f17cbee6407fe06ab7beff" ] } extra-source "META" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/graphics/META.3.09.2" checksum: [ "sha256=805319133f673c09c5deaac85d512abf7033d9f964683b1694cb3c655df096d1" "md5=0ce5b893ec778b7859a434771c4d1e02" ] }