opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://libevent.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Libevent dev team"
license: "BSD-3-clause"
build: [
  ["pkg-config" "--exists" "libevent"]
]
depends: [
  "conf-pkg-config" {build}
]
depexts: [
  ["libevent-dev"] {os-family = "debian"}
  ["libevent-dev"] {os-family = "ubuntu"}
  ["libevent-dev"] {os-family = "alpine"}
  ["libevent-devel"] {os-distribution = "fedora"}
  ["libevent-devel"] {os-distribution = "rhel"}
  ["libevent-devel"] {os-distribution = "centos"}
  ["libevent-devel"] {os-distribution = "ol" & os-version >= "8"}
  ["libevent-devel"] {os-family = "suse"}
  ["libevent"] {os-family = "arch"}
  ["libevent"] {os = "freebsd"}
  ["libevent"] {os = "openbsd"}
  ["libevent"] {os = "netbsd"}
  ["libevent"] {os = "macos" & os-distribution = "homebrew"}
  ["libevent"] {os = "macos" & os-distribution = "macports"}
]
x-ci-accept-failures: [
  "oraclelinux-7"
]
synopsis: "Virtual package relying on libevent"
description:
  "This package can only install if the libevent library is installed on the system."
flags: conf
