/
opam
46 lines (45 loc) · 1.24 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
37
38
39
40
41
42
43
44
45
46
opam-version: "2.0"
maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"]
license: "BSD-3-Clause"
homepage: "https://github.com/ocaml-community/utop"
bug-reports: "https://github.com/ocaml-community/utop/issues"
dev-repo: "git+https://github.com/ocaml-community/utop.git"
build: [
["./configure" "--prefix" prefix "--%{camlp4:enable}%-camlp4"]
[make]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [
[make "install"]
]
remove: [
["ocamlfind" "remove" "utop"]
]
depends: [
"ocaml" {>= "4.01" & < "4.03"}
"base-unix"
"base-threads"
"ocamlfind" {>= "1.4.0" & < "1.5.6"}
"lambda-term" {>= "1.2" & < "2.0"}
"lwt"
"react" {>= "1.0.0"}
"cppo" {>= "1.1.2"}
"ocamlbuild" {build}
"cppo_ocamlbuild" {build}
]
depopts: [
"camlp4"
]
synopsis: "Universal toplevel for OCaml"
description: """
utop is an improved toplevel for OCaml. It can run in a terminal or in
Emacs. It supports line edition, history, real-time and context
sensitive completion, colors, and more.
It integrates with the tuareg mode in Emacs."""
flags: light-uninstall
extra-files: ["utop.install" "md5=706ad83234dd0b1d24961a8d9b6bac50"]
url {
src: "https://github.com/ocaml-community/utop/archive/1.17.tar.gz"
checksum: "md5=79dcabf1b3704ee11bc55cdd92a8490c"
}