/
opam
46 lines (46 loc) · 1.26 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: "andreashauptmann@t-online.de"
authors: [ "andreashauptmann@t-online.de" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/fdopen/uwt"
dev-repo: "git+https://github.com/fdopen/uwt.git"
bug-reports: "https://github.com/fdopen/uwt/issues"
tags: ["clib:libuv"]
build: [
["omake" "-j%{jobs}%" "lib" "BUILD_LIBUV=true" "UWT_BUILD_JOBS=%{jobs}%"]
["omake" "test"] {with-test}
]
install: [
["omake" "opam-install" "PREFIX=%{prefix}%"]
]
remove: [
["ocamlfind" "remove" "uwt"]
["rm" "-rf" "%{prefix}%/doc/uwt"]
]
depends: [
"ocaml" {>= "4.02.1"}
"base-unix"
"base-bigarray"
"base-threads"
"base-bytes"
"conf-pkg-config" {build}
"ocamlfind" {build}
"cppo" {build & >= "1.3"}
"omake" {build}
"result"
"lwt" {>= "2.6.0" & < "4.0.0"}
"ounit" {with-test & >= "2.0"}
"ppx_deriving" {with-test & >= "2.0"}
"ppx_import" {with-test & >= "1.0" & < "2.0"}
]
synopsis: "libuv bindings"
description: """
uwt provides OCaml bindings for libuv.
The main loop of libuv is integrated into lwt,
the light-weight cooperative threads library."""
flags: light-uninstall
url {
src:
"https://github.com/fdopen/uwt/releases/download/0.2.3/uwt-0.2.3.tar.gz"
checksum: "md5=d8c2cad9895a59a19aecff604cd6e33b"
}