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.10.1"} ] synopsis: "The OCaml graphics library" description: "Ensures that the OCaml graphics library is available, building it if needed." url { src: "http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.1.tar.gz" checksum: [ "sha256=ad4fb7c87942221bb3d7deab80cb1a104136eb62a29efc0b8233d1880f731977" "md5=04fbe476b7f633a910429106e02d9948" ] } extra-source "PR5477.patch" { src: "https://raw.githubusercontent.com/metastack/ocaml-legacy/master/PR5477-to-3.10.2.patch" checksum: [ "sha256=b0d14ec340deede824f6af4b264881f9d96618a87fb9d1ad9c3d5eff4b8e1334" "md5=a447570fb902ee514f0d35705ca45c8f" ] } 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.10.1" checksum: [ "sha256=d20fe2bc1cfdfda5fc5ef5161a19a2dcfbb1be0613cfacad3c2492acf6f5b82c" "md5=dc80f671a9f534fc1c71e1f0af2f466f" ] }