-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
36 lines (32 loc) · 1.57 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
opam-version: "2.0"
maintainer: "jun.furuse@gmail.com"
remove: [[make "uninstall" "BINDIR=%{bin}%" "PREFIX=%{prefix}%"]]
install: [make "all" "opt" "install" "BINDIR=%{bin}%" "PREFIX=%{prefix}%"]
synopsis: "OCamlSpotter - OCaml source browsing"
description: """
OCamlSpotter is a tool for OCaml source code browsing.
* You can search the definitions of names of values, functions, data types and modules.
* Emacs and Vim helpers help your browsing via editors.
* Definition search traverses module aliases and functor applications: if module M = N, OCamlSpotter automatically seeks the definition of M.x in N. Very helpful in the modern OCaml programming with lots of modules.
OCamlSpotter 2.x uses \\*.cmt and \\*.cmti files created by OCaml compiler 4.00.0 or newer with -bin-annot option.
Unlike OCamlSpotter 1.x, OCamlSpotter 2.x is a standalone application. You NO LONGER need compiler patching. Just make, make install, and configure ocamlspot.el.
In OPAM, ocamlspot.el and ocamlspot.vim is %{lib%}/ocamlspot ."""
depends: [
"ocaml" {>= "4.00.0" & <= "4.00.1"}
]
url {
src:
"https://github.com/ocaml/opam-source-archives/raw/main/ocamlspot-4.00.0.2.1.1.tar.gz"
checksum: [
"sha256=215a9dfbd8582f7220566e0827a0e0c684c79f451e7ee2f15891f99e64ffc6dc"
"md5=ff4cb87fff763fbe416e720ba8162276"
]
}
extra-source "ocamlspot.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlspot/ocamlspot.install"
checksum: [
"sha256=28021c831183c494ecf5a087771cf4065fdd19640c8d1941d9a5ce77cc958b10"
"md5=f43cbca5e0836c5ff9da5bd00d816ac3"
]
}