opam-version: "2.0"
maintainer:   "dave@recoil.org"
authors:      ["Anil Madhavapeddy" "David Scott"]
homepage:     "https://github.com/mirage/shared-memory-ring"
bug-reports:  "https://github.com/mirage/shared-memory-ring/issues"
dev-repo: "git+https://github.com/mirage/shared-memory-ring.git"
license:      "ISC"
tags:         [ "org:mirage" "org:xapi-project"]

build: [
  [make "CONFIGUREFLAGS=--disable-tests" "all"]
  [make "clean"] {with-test}
  [make "CONFIGUREFLAGS=--enable-tests" "test"] {with-test}
]
install: [make "install"]
remove:  ["ocamlfind" "remove" "shared-memory-ring"]

depends: [
  "ocaml" {>= "4.02.0" & < "4.06.0"}
  "cstruct" {>= "1.9.0" & < "3.4.0"}
  "ppx_tools"
  "lwt"
  "ocamlfind"
  "mirage-profile"
  "ounit" {with-test}
]
synopsis: "Shared memory rings for RPC and bytestream communications."
description: """
Includes concrete implementations of Xen console and Xenstore 
rings."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/shared-memory-ring/archive/v1.3.0.tar.gz"
  checksum: "md5=63821f20ad503ec81b27213806afb082"
}
