opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
homepage: "http://erratique.ch/software/tgls"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
doc: "http://erratique.ch/software/tgls/doc/"
#dev-repo: "http://erratique.ch/repos/tgls.git"
#bug-reports: "https://github.com/dbuenzli/tsdl/issues"
tags: [ "bindings" "opengl" "opengl-es" "graphics" "org:erratique" ]
license: "BSD-3-Clause"
depends: [
  "ocaml" {>= "4.00.1"}
  "ocamlfind"
  "ctypes" {>= "0.3" & < "0.4.0"}
  "ocamlbuild" {build}
]
build: 
[
  [ "ocaml" "pkg/git.ml" ]
  [ "ocaml" "pkg/build.ml" "native=true"           # TODO fixme
                           "native-dynlink=true" ] # TODO fixme
]
synopsis: "Thin bindings to OpenGL {3,4} and OpenGL ES {2,3} for OCaml"
description: """
Tgls is a set of independent OCaml libraries providing thin bindings
to OpenGL libraries. It has support for core OpenGL 3.{2,3} and
4.{0,1,2,3,4} and OpenGL ES 2 and 3.{0,1}.

Tgls depends on [ocaml-ctypes][1] and the C OpenGL library of your
platform. It is distributed under the BSD3 license.
          
[1]: https://github.com/ocamllabs/ocaml-ctypes"""
url {
  src: "http://erratique.ch/software/tgls/releases/tgls-0.8.2.tbz"
  checksum: "md5=03a3c6e23e760326bf0550a2711159cd"
}
