-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
52 lines (52 loc) · 1.5 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
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
license: "BSD-3-Clause"
authors: [
"Maas-Maarten Zeeman <mmzeeman@xs4all.nl>"
"ygrek <ygrek@autistici.org>"
]
homepage: "https://github.com/ygrek/ocaml-libevent"
dev-repo: "git://github.com/ygrek/ocaml-libevent.git"
bug-reports: "https://github.com/ygrek/ocaml-libevent/issues"
tags: ["org:ygrek"]
build: [
[make "depend"]
[make]
[make "test"] {with-test & os != "macos"}
[make "doc"] {with-doc}
]
install: [
[make "install"]
]
remove: [
["ocamlfind" "remove" "libevent"]
]
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"base-unix"
"base-bytes" {with-test}
"ounit" {with-test}
]
depexts: [
["libevent-dev"] {os-family = "debian"}
["libevent-devel"] {os-distribution = "fedora"}
["libevent-devel"] {os-distribution = "centos"}
["libevent-dev"] {os-distribution = "alpine"}
["libevent-devel"] {os-family = "suse"}
["libevent"] {os-distribution = "homebrew"}
]
synopsis: "OCaml wrapper for the libevent API"
description: """
libevent provides a mechanism to execute a callback function
when a specific event occurs on a file descriptor or
after a timeout has been reached. Furthermore, libevent also
supports callbacks due to signals or regular timeouts."""
flags: light-uninstall
url {
src:
"http://ygrek.org.ua/p/release/ocaml-libevent/ocaml-libevent-0.8.1.tar.gz"
checksum: "md5=0f87c6327e62a8bf631a45e85289be07"
mirrors:
"https://github.com/ygrek/ocaml-libevent/releases/download/v0.8.1/ocaml-libevent-0.8.1.tar.gz"
}