/
opam
53 lines (53 loc) · 1.13 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
opam-version: "2.0"
authors: ["John Else" "Simon Cruanes"]
homepage: "https://github.com/johnelse/ocaml-irc-client"
bug-reports: "https://github.com/johnelse/ocaml-irc-client/issues"
dev-repo: "git+https://github.com/johnelse/ocaml-irc-client"
maintainer: "john.else@gmail.com"
license: "MIT"
build: [
[
"./configure"
"--prefix"
prefix
"--%{lwt:enable}%-lwt"
"--%{tls:enable}%-tls"
"--%{base-unix:enable}%-unix"
"--enable-docs"
"--enable-examples"
]
[make "build"]
["./configure" "--enable-tests"] {with-test}
[make "test"] {with-test}
[make "doc"] {with-doc}
]
install: [
[make "PREFIX=%{prefix}%" "install"]
]
remove: [
["ocamlfind" "remove" "irc-client"]
]
depends: [
"ocaml" {>= "4.00.1"}
"oasis" {build & >= "0.4.2"}
"ocamlbuild" {build}
"ocamlfind" {build}
"result"
"ounit" {with-test}
]
depopts: [
"base-unix"
"lwt"
"tls"
]
conflicts: [
"lwt" {>= "5.0.0"}
"tls" {>= "0.11.0"}
]
synopsis: "IRC client library"
flags: light-uninstall
url {
src:
"https://github.com/johnelse/ocaml-irc-client/archive/irc-client.0.5.1.tar.gz"
checksum: "md5=5047a422402f36af4a59261db7d0c287"
}