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 "build"]
install: [make "install-lib" "BINDIR=%{bin}%"]
remove:  ["ocamlfind" "remove" "js_of_ocaml"]

depends: [
  "ocaml" {<= "4.01.0"}
  "base-unix"
  "ocamlfind"
  "lwt"
  "menhir" {< "20200525"}
  "camlp4"
  "ocamlbuild"
]
depopts: ["deriving" "tyxml" "reactiveData" ]

conflicts: [
  "deriving" {< "0.6"}
  "lwt"      {< "2.4"}
  "lwt"      {>= "4.0.0"}
  "tyxml"    {< "3.2.1"}
  "tyxml"    {>= "3.6.0"}
]
synopsis: "Compiler from OCaml bytecode to Javascript"
flags: light-uninstall
url {
  src: "https://github.com/ocsigen/js_of_ocaml/archive/2.4.1.tar.gz"
  checksum: "md5=17d93da13f61a1330d6af1dbd0841faf"
}
