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://github.com/ygrek/ocurl.git"
#bug-reports: "https://github.com/ygrek/ocurl/issues"
build: [
  ["./configure"]
  [make]
  [make "doc"] {with-doc}
]
install: [
  [make "install"]
]
remove: [["ocamlfind" "remove" "curl"]]
depends: [
  "ocaml" {< "4.06.0"}
  "ocamlfind"
  "base-unix"
  "camlp4"
]
depopts: ["lwt"]
conflicts: [
  "lwt" {>= "4.0.0"}
]
depexts: [
  ["libcurl4-gnutls-dev"] {os-family = "debian"}
  ["libcurl-devel" "openssl-devel"] {os-distribution = "centos"}
]
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
url {
  src: "https://ygrek.org/p/release/ocurl/ocurl-0.7.2.tar.gz"
  checksum: "md5=9e96300f39b03c53b605de303fafc45d"
}
