opam-version: "2.0"
maintainer: "acieroid@awesom.eu"
authors: "Florent Monnier"

homepage: "http://www.linux-nantes.org/~fmonnier/OCaml/GL/"
doc: "http://www.linux-nantes.org/~fmonnier/OCaml/GL/doc/"
dev-repo: "git+https://github.com/fccm/glMLite.git"
bug-reports: "https://github.com/fccm/glMLite/issues"

synopsis: "OpenGL bindings for OCaml"
tags: [ "bindings" "opengl" "graphics" "3D" ]
description: """
Provide bindings for GL, Glu and Glut, GLE, FTGL, and also some
small image loader modules for different image file formats.
"""
build: make

depends: [
  "ocaml" {< "4.08.0"}
  "ocamlfind" {build}
  "conf-libjpeg"
]
depexts: [
  ["freeglut3-dev"] {os-family = "debian"}
  ["libfreeglut-devel"] {os-family = "mageia"}
  ["homebrew/x11/freeglut"] {os = "macos" & os-distribution = "homebrew"}
]
install: [make "install" "PREFIX=%{lib}%/glMLite"]
url {
  src: "https://github.com/fccm/glMLite/archive/v0.03.52.tar.gz"
  checksum: "md5=bc83f35fc4ac7b81d4072f5ab507f6f6"
}
