opam-version: "2.0"
maintainer: "Christophe.Troestler@umons.ac.be"
authors: [ "Damien Doligez"
           "Jacques Garrigue"
           "Xavier Leroy"
           "Didier Remy"
           "Ian T Zimmerman" ]
homepage: "https://github.com/ocaml/ocaml"
bug-reports: "http://caml.inria.fr/mantis/"
license: "GPL-1.0-or-later"
dev-repo: "git+https://github.com/ocaml/ocaml.git"
remove: [
  [make "uninstall" "EMACSDIR=%{share}%/emacs/site-lisp"]
  [make "uninstall-ocamltags" "BINDIR=%{bin}%"]
]
depends: ["ocaml" "conf-emacs"]
post-messages: "
If you have not yet done so, please add in ~/.emacs.d/init.el or
in ~/.emacs to following line:
    (add-to-list 'load-path \"%{share}%/emacs/site-lisp/\")
" {success}
install: [
  [make "install" "EMACSDIR=%{share}%/emacs/site-lisp"]
  [make "install-ocamltags" "BINDIR=%{bin}%"]
]
synopsis: "OCaml code editing commands for Emacs"
url {
  src:
    "https://github.com/ocaml/tuareg/releases/download/2.0.9/caml-mode-4.02.tar.gz"
  checksum: "md5=5f6d202df55c7982001c01440ddd2a8e"
}
