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" {= "4.01.0"} ] 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-4.01/ocaml-4.01.0.tar.gz" checksum: [ "sha256=ea1751deff454f5c738d10d8a0ad135afee0852d391cf95766b726c0faf7cfdb" "md5=04dfdd7da189462a4f10ec6530359cef" ] } patches: "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff" extra-source "bd7fa181cb64742c3b6cbb8ee13436554eb18cd7...fix-clang-build.diff" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/fix-clang-build-ocaml-401.patch" checksum: [ "sha256=54c4a0e537dbe4e5a85d9c91671d2e82749042a7211305de3632e6a0529eef2d" "md5=faccda3b3ab092fa9ac7d5d4d8beb004" ] } 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.4.01.0" checksum: [ "sha256=f9d06578bf5d074df83ff8e9820b78565fde2212f4f3a51be46787335db4dc3e" "md5=1974c4336a8f9c6157905c053b221eaf" ] }