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."""
url {
  src: "https://github.com/mirage/ocaml-gnt/archive/v1.0.2.tar.gz"
  checksum: "md5=544543dcf8fabcb9249212dc5121eaf9"
}
