opam-version: "2.0"
maintainer: "ygrek@autistici.org"
homepage: "https://ygrek.org/p/ocurl/"
license: "MIT"
authors: [ "Lars Nilsson" "ygrek" ]
doc: ["https://ygrek.org/p/ocurl/api/index.html"]
dev-repo: "git://github.com/ygrek/ocurl.git"
bug-reports: "https://github.com/ygrek/ocurl/issues"
build: [
  ["./configure"]
  [make]
  [make "test"] {with-test}
  [make "doc"] {with-doc}
]
install: [
  [make "install"]
]
remove: [["ocamlfind" "remove" "curl"]]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "base-unix"
  "base-unsafe-string"
  "conf-libcurl"
]
depopts: ["lwt"]
conflicts: [
  "lwt" {>= "4.0.0"}
]
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.10.tar.gz"
  checksum: "md5=82dec986ab22a349606d6bc51321f947"
  mirrors:
    "https://github.com/ygrek/ocurl/releases/download/0.7.10/ocurl-0.7.10.tar.gz"
}
