opam-version: "2.0"
maintainer:   "anil@recoil.org"
authors:      "The MirageOS team"
homepage:     "https://github.com/mirage/mirage-platform"
bug-reports:  "https://github.com/mirage/mirage-platform/issues/"
dev-repo: "git+https://github.com/mirage/mirage-platform.git"
license:      ["ISC" "LGPL-2.1-only with OCaml-LGPL-linking-exception" "BSD-3-Clause"]

build:   [make "xen-build"]
install: [make "xen-install"   "PREFIX=%{prefix}%"]
remove:  [make "xen-uninstall" "PREFIX=%{prefix}%"]

depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "cstruct" {>= "1.0.1"}
  "io-page" {>= "1.5.0"}
  "mirage-clock-xen" {>= "1.0.0"}
  "lwt" {>= "2.4.3"}
  "shared-memory-ring" {>= "1.0.0" & < "2.0.0"}
  "xenstore" {>= "1.2.5"}
  "xen-evtchn" {>= "0.9.9"}
  "xen-gnt" {>= "2.0.0"}
  "mirage-xen-minios" {>= "0.7.0"}
  "minios-xen" {>= "0.9"}
  "conf-pkg-config"
  "mirage-profile" {>= "0.3"}
  "mirage-xen-ocaml" {>= "2.6.0"}
]
available: false
synopsis: "MirageOS library for Xen"
description:
  "This library consists of the OCaml `OS` module and its various C bindings."
url {
  src: "https://github.com/mirage/mirage-platform/archive/v2.6.0.tar.gz"
  checksum: "md5=e9d5ec80ae06b42658e48af130aea7c1"
}
