opam-version: "2.0"
maintainer: "john.else@citrix.com"
build: make
remove: [
  [make "PREFIX=%{prefix}%" "uninstall"]
]
depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlbuild" {build}
  "camlp4" {build}
  "ounit" {with-test}
  "cstruct" {>= "1.0.1"}
  "io-page" {< "1.3.0"}
  "lwt" {< "4.0.0"}
  "cmdliner"
]
depexts: [
  ["libxen-dev"] {os-family = "debian"}
]
dev-repo: "git://github.com/mirage/ocaml-gnt"
install: [make "PREFIX=%{prefix}%" "install"]
synopsis: "Xen grant table bindings"
description: """
These allow your program (running either in userspace or in kernelspace
via MirageOS) to read and write memory exported by other VMs on the same host.
These APIs are the foundation of all inter-VM communication on Xen."""
url {
  src: "https://github.com/mirage/ocaml-gnt/archive/v1.0.3.tar.gz"
  checksum: "md5=64f41450945db1a2d071298fd45bc501"
}
