opam-version: "2.0"
maintainer:   "dave.scott@citrix.com"
authors:      ["Dave Scott"]
homepage:     "https://github.com/mirage/ocaml-evtchn"
dev-repo: "git+https://github.com/mirage/ocaml-evtchn.git"
bug-reports:  "https://github.com/mirage/ocaml-evtchn/issues"
tags:         ["org:mirage" "org:xapi-project"]

build:   [make]
install: [make "install"]
remove:  [make "uninstall"]

depends: [
  "ocaml" {>= "4.00.0" & < "4.06.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "lwt"
  "camlp4"
  "cmdliner"
  "ounit"
]
depopts: ["xenctrl"]
depexts: [
  ["xen-dev"] {os-distribution = "alpine"}
  ["libxen-dev"] {os-family = "debian"}
  ["xen-devel"] {os-distribution = "centos"}
  ["xen-devel"] {os-distribution = "fedora"}
  ["xenstore"] {os-distribution = "arch"}
]
synopsis: "Xen event channel bindings."
description:
  "These are needed for building xen device drivers (e.g. mirage-block-xen)"
url {
  src: "https://github.com/xapi-project/ocaml-evtchn/archive/v1.0.1.tar.gz"
  checksum: "md5=b0edc29595f4055cd28ca21a3d5fadd2"
}
