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.00.0" & < "4.03.0"}
  "cmdliner"
  "base-unix"
  "ocamlfind" {>= "1.5.1"}
  "lwt" {>= "2.4.4" & < "4.0.0"}
  "menhir" {< "20200525"}
  "cppo"
  "camlp4"
  "base64" {>= "2.0.0" & < "3.0.0"}
  "base-no-ppx" | "ppx_tools"
  "ocamlbuild"
]
depopts: ["deriving" "ppx_deriving" "tyxml" "reactiveData" ]
conflicts: [
  "deriving"     {< "0.6"}
  "tyxml"        {< "3.6.0" | >= "4.0.0" }
  "ppx_deriving" {< "3.0"}
  "ppx_deriving" {>= "4.3"}
  "reactiveData" {< "0.2"}
]
synopsis: "Compiler from OCaml bytecode to Javascript"
flags: light-uninstall
url {
  src: "https://github.com/ocsigen/js_of_ocaml/archive/2.7.tar.gz"
  checksum: "md5=99974e47a97a5b2fd2bbd0c58759cec1"
}
