opam-version: "2.0"
maintainer: "ygrek@autistici.org"
license: "BSD-3-Clause"
authors: [
  "Maas-Maarten Zeeman <mmzeeman@xs4all.nl>"
  "ygrek <ygrek@autistici.org>"
]
homepage: "https://github.com/ygrek/ocaml-libevent"
dev-repo: "git://github.com/ygrek/ocaml-libevent.git"
bug-reports: "https://github.com/ygrek/ocaml-libevent/issues"
build: [
  [make "depend"]
  [make "all" "allopt"]
  [make "doc"] {with-doc}
]
install: [
  [make "install"]
]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "base-unix"
  "conf-libevent" {build}
]
available: os != "macos"
synopsis: "OCaml wrapper for the libevent API"
description: """
libevent provides a mechanism to execute a callback function
when a specific event occurs on a file descriptor or
after a timeout has been reached. Furthermore, libevent also
supports callbacks due to signals or regular timeouts."""
url {
  src:
    "https://ygrek.org/p/release/ocaml-libevent/ocaml-libevent-0.8.0.tar.gz"
  checksum: "md5=6b7f7858a90253b976f94d5908db4a62"
}
