opam-version: "2.0"
maintainer: "Etienne Millon <me@emillon.org>"
authors: "Etienne Millon <me@emillon.org>"
homepage: "https://github.com/emillon/gamepad_of_ocaml"
bug-reports: "https://github.com/emillon/gamepad_of_ocaml/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/emillon/gamepad_of_ocaml.git"
doc: "https://emillon.github.io/gamepad_of_ocaml/doc"
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
  "ocaml"
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "topkg" {build}
  "lwt"
  "js_of_ocaml" {>= "2.6" & < "3.0"}
]
synopsis: "Bindings for the JS Gamepad API"
description:
  "Using this and js_of_ocaml, you can use gamepads with OCaml in your browser."
url {
  src:
    "https://github.com/emillon/gamepad_of_ocaml/releases/download/v0.1.0/gamepad-0.1.0.tbz"
  checksum: "md5=d3ecec83d63fccde2f9bff4a67e3027b"
}
