opam-version: "2.0"
maintainer:   "dev@ocsigen.org"
authors:      "Ocsigen team"
bug-reports:  "https://github.com/ocsigen/js_of_ocaml/issues"
homepage:     "http://ocsigen.org/js_of_ocaml"
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
build:   [make]
install: [make "install" "BINDIR=%{bin}%"]
remove:  ["ocamlfind" "remove" "js_of_ocaml"]

depends: [
  "ocaml" {<= "4.00.1"}
  "ocamlfind"
  "deriving-ocsigen"
  "lwt" {>= "2.4"}
  "camlp4"
]
synopsis: "Compiler from OCaml bytecode to Javascript"
flags: light-uninstall
extra-files: ["js_of_ocaml.install" "md5=4830aaa8e0a0c2778adcfe34e05afef3"]
url {
  src: "http://ocsigen.org/download/js_of_ocaml-1.3.1.tar.gz"
  checksum: "md5=902d9efbaf884a0330b54ec3da17ab37"
}
