opam-version: "2.0"
maintainer: "David Allsopp <david.allsopp@metastack.com>"
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 with OCaml 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.08.0"}
]
synopsis: "The OCaml graphics library"
description:
  "Ensures that the OCaml graphics library is available, building it if needed."
extra-files: [
  ["META" "md5=69304ee69d8d2b4646fb50d01565c1c1"]
  ["install.sh" "md5=bcdb668c9cbc2e5b58aef6e185a9a845"]
  ["graphics.install" "md5=e9c9a65968f17cbee6407fe06ab7beff"]]
url {
  src: "https://github.com/ocaml/ocaml/archive/4.08.0.tar.gz"
  checksum: "md5=42ed24e9a7c0e3998cab7d5e7c9f7618"
}
extra-source "5bb4b7b8caba64e34553c3dbb53caf3954d1648c.patch" {
  src:
    "https://github.com/ocaml/ocaml/commit/5bb4b7b8caba64e34553c3dbb53caf3954d1648c.patch"
  checksum: "md5=2ad2f8ff3fbbfb2cd8f5f8968933e3af"
}
patches: ["5bb4b7b8caba64e34553c3dbb53caf3954d1648c.patch"]
