Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (49 sloc) 2.22 KB
opam-version: "2.0"
version: "1.0.1"
authors: "Jun Furuse"
maintainer: "jun.furuse@gmail.com"
homepage: "https://bitbucket.org/camlspotter/spotinstall/"
bug-reports: "https://bitbucket.org/camlspotter/spotinstall/issues?status=new&status=open"
dev-repo: "hg+https://bitbucket.org/camlspotter/spotinstall"
build: [
[ "ocaml" "setup.ml" "-configure" "--prefix" prefix ]
[ "ocaml" "setup.ml" "-build" ]
]
install: [
[ "ocaml" "setup.ml" "-install" ]
]
remove: [
[ "ocaml" "setup.ml" "-configure" "--prefix" prefix ]
[ "ocaml" "setup.ml" "-uninstall" ]
]
depends: [
"ocaml" {>= "4.00.0"}
"ocamlfind" {build}
"spotlib" {>= "2.0.0" & < "2.2.0"}
"omake" {build & < "0.10.1"}
]
synopsis:
"A tool to facilitate the installation of OCaml annotation files (.cmt, .cmti, .spot, .spit)."
description: """
Many existing OCaml libraries, applications and the compiler itself do
not produce or install the annotation files (.annot, .cmt, .cmti,
.spot, .spit) which are essential for sub-expression type queries
(caml-types.el), definition seaches and code refactoring (TypeRex and
OCamlSpotter). If you want to use development tools, you have to:
* Rebuild all the software from the source, adding -annot/-bin-annot
option to compiler flags in build scripts
i.e. Makefile/OCamlBuild/OMakefile.
* Install those annotation files together with the library objects and
signatures. (Require modification of the build scripts)
for all the programs.
SpotInstall provides a post-installation workaround, consists of two things:
* A very small compiler patch which activates -annot and -bin-annot if OCAML_ANNOT environment variable is defined. (You no longder need to add -annot/-bin-annot to the build scripts.)
* A small tool to install annotation files to the library destination directory. (You no longer need to add annotation file installation to the build scripts.)
For the first workaround, you need a small patch available from::
hg clone -b annot https://bitbucket.org/camlspotter/mutated_ocaml
or included in this source package, ocaml-annot-<version>.patch.
For the second one, you can use SpotInstall. This tool."""
url {
src: "https://bitbucket.org/camlspotter/spotinstall/get/1.0.1.tar.gz"
checksum: "md5=2fcc310ced15dd5ceb187e68d3275b23"
}
You can’t perform that action at this time.