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"]
tags:         ["org:mirage"]

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" & < "2.0.0"}
  "mirage-clock-freestanding" {>= "1.2.0"}
  "lwt" {>= "2.4.7"}
  "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"}
  "logs"
]
conflicts: [
  "mirage-types" { < "3.0.0" }
]
available: false
synopsis: "MirageOS library for Xen compilation"
url {
  src: "https://github.com/mirage/mirage-platform/archive/v3.0.0.tar.gz"
  checksum: "md5=ad80c57c36e8aec9c623d1fc4441ec49"
}
