opam-version: "2.0"
maintainer: "Christopher Zimmermann <christopher@gmerlin.de>"
homepage: "https://github.com/savonet/ocaml-ssl"
dev-repo: "git+https://github.com/savonet/ocaml-ssl.git"
bug-reports: "https://github.com/savonet/ocaml-ssl/issues"

build: [
  ["sh" "./pkgconfigure" "--prefix" prefix] {os = "openbsd"}
  ["sh" "./configure" "--prefix" prefix] {os != "openbsd"}
  [make]
]
patches: ["fix-meta.diff"]
remove: [["ocamlfind" "remove" "ssl"]]
depends: [
  "ocaml" {< "4.04.0"}
  "ocamlfind"
]
depexts: [
  ["libssl-dev"] {os-family = "debian"}
  ["openssl-devel"] {os-distribution = "centos"}
  ["openssl-devel"] {os-distribution = "fedora"}
]
install: [make "install"]
synopsis: "Bindings for OpenSSL"
authors: "Samuel Mimram <samuel.mimram@ens-lyon.org>"
flags: light-uninstall
extra-files: [
  ["pkgconfigure" "md5=74b0a92d673e3adb377da123a712f221"]
  ["fix-meta.diff" "md5=9ba3f27fad7229dba0966109800ea6ed"]
  ["configure" "md5=ccce622eed248ba684a6af1d1bd7a6f6"]
]
url {
  src: "https://github.com/savonet/ocaml-ssl/archive/0.5.0.tar.gz"
  checksum: "md5=cb9f2aa427c78cb2ecd83922628de9a9"
}
