/
opam
39 lines (39 loc) · 1.03 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
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
homepage: "http://ocurl.forge.ocamlcore.org"
license: "MIT"
authors: [ "Lars Nilsson" "ygrek" ]
doc: ["http://ocurl.forge.ocamlcore.org/api/index.html"]
dev-repo: "git+https://github.com/ygrek/ocurl.git"
bug-reports: "https://github.com/ygrek/ocurl/issues"
build: [
["./configure"]
[make]
[make "test"] {with-test & ocaml:version < "4.06"}
[make "doc"] {with-doc}
]
install: [
[make "install"]
]
remove: [["ocamlfind" "remove" "curl"]]
depends: [
"ocaml" {< "5.0"}
"ocamlfind" {build}
"base-unix"
"conf-libcurl"
]
depopts: ["lwt"]
conflicts: [
"ocaml-option-bytecode-only"
]
patches: [ "examples.diff" ]
synopsis: "Bindings to libcurl"
description: """
Client-side URL transfer library, supporting HTTP and a multitude of
other network protocols (FTP/SMTP/RTSP/etc)."""
flags: light-uninstall
extra-files: ["examples.diff" "md5=cc2ae2f1d6f11c4eb1e91814f3bce257"]
url {
src: "https://ygrek.org/p/release/ocurl/ocurl-0.7.6.tar.gz"
checksum: "md5=9ee5eff26a7c378d121a6af86624b76f"
}