opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
tags: ["org:ocamlpro" "org:typerex"]
homepage: "http://www.typerex.org/ocp-index.html"
license: "LGPL-2.0-or-later"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
depends: [
  "ocaml" {>= "4.00.0" & < "4.02"}
  "ocp-build" {build & >= "1.99.4-beta"}
  "ocp-indent" {>= "1.4.1"}
  "cmdliner"
]
depopts: ["curses"]
post-messages: [
  "OCP-INDEX installed.

To use it from emacs, add the following to your .emacs:
  (add-to-list 'load-path (concat
     (replace-regexp-in-string \"\\n$\" \"\"
        (shell-command-to-string \"opam config var share\"))
     \"/emacs/site-lisp\"))
  (require 'ocp-index)"
  {success}
]
dev-repo: "git://github.com/OCamlPro/ocp-index"
synopsis: "Lightweight documentation extractor for installed OCaml libraries"
description: """
Optionally, if you have curses installed, will also install a tiny browser.
Also comes with ocp-grep, to find uses of a given (qualified) identifier in a source tree."""
url {
  src: "https://github.com/OCamlPro/ocp-index/archive/1.0.1.tar.gz"
  checksum: "md5=115e133483509541a61f0a9d3d094bf2"
}
