opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
build: make
depends: [
  "ocaml" {< "4.06.0"}
  "camlp5" {<= "7.99"}
]
install: [
  make
  "install"
  "LIBDIR=%{lib}%/ledit"
  "MANDIR=%{man}%/man1"
  "BINDIR=%{bin}%"
]

synopsis: "Line editor, a la rlwrap"
description: """
One-line editor written in OCaml. It provides line editing for the
Caml toplevels, as well as other interactive Unix commands."""
extra-files: ["ledit.install" "md5=edcac1015d6bf39be54ed235c7fe4dbc"]
url {
  src: "http://pauillac.inria.fr/~ddr/ledit/distrib/src/ledit-2.03.tgz"
  checksum: "md5=3a70ee7d5d5e2dfb905a1ac2e1e60276"
}
