opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
build: make
remove: [["ocamlfind" "remove" "webdav"]]
depends: [
  "ocaml" {< "4.01.0"}
  "ocamlfind"
  "ocamlnet" {< "3.5.1"}
  "omake"
  "pcre"
  "pxp"
]
install: [make "install"]
synopsis: "Implements the client side of the WebDAV protocol (RFC 4918)"
description: """
The file locking part of WebDAV is omitted, though.
The library uses Ocamlnet's [netclient] library for client-side HTTP,
and extends it by providing the required access methods for
WebDAV. Additionally, there is also an implementation for Ocamlnet's
Netfs.stream_fs abstraction modelling a simple file system."""
flags: light-uninstall
url {
  src: "http://download.camlcity.org/download/webdav-1.1.tar.gz"
  checksum: "md5=23db105a570a4065ba04bbe2b804b43f"
  mirrors: "http://download2.camlcity.org/download/webdav-1.1.tar.gz"
}
