/
opam
56 lines (55 loc) · 1.36 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
47
48
49
50
51
52
53
54
55
56
opam-version: "2.0"
maintainer: "Jérôme Vouillon <jerome.vouillon@pps.univ-paris-diderot.fr>"
authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
homepage: "http://github.com/ocsigen/lwt"
dev-repo: "git+https://github.com/ocsigen/lwt"
bug-reports: "http://github.com/ocsigen/lwt/issues"
license: "LGPL with OpenSSL linking exception"
build: [
["./configure"
"--prefix" prefix
"--%{conf-libev:enable}%-libev"
"--%{camlp4:enable}%-camlp4"
"--%{react:enable}%-react"
"--%{ssl:enable}%-ssl"
"--%{base-unix:enable}%-unix"
"--%{base-threads:enable}%-preemptive"
"--%{lablgtk:enable}%-glib"
"--%{ppx_tools:enable}%-ppx"]
[make "build"]
]
install: [[make "install"]]
remove: [["ocamlfind" "remove" "lwt"]]
depends: [
"ocaml" {>= "4.01.0" & < "4.03.0"}
"ocamlfind" {build & >= "1.5.0"}
("base-no-ppx" | "ppx_tools")
"ocamlbuild" {build}
"conf-ncurses" {build}
]
depopts: [
"base-threads"
"base-unix"
"conf-libev"
"camlp4"
"ssl"
"react"
"lablgtk"
]
conflicts: [
"ocaml-variants" {= "4.02.1+BER"}
"react" {< "1.0.0"}
"ssl" {< "0.5.0"}
]
synopsis: "A cooperative threads library for OCaml"
description: """
This library is part of the Ocsigen project. See:
http://ocsigen.org/lwt"""
flags: light-uninstall
url {
src: "https://github.com/ocsigen/lwt/archive/2.5.1.tar.gz"
checksum: "md5=344d79395fc4a205225b036fa7f80e24"
}