opam-version: "2.0"
homepage:     "https://github.com/mirage/mirage-entropy"
dev-repo: "git+https://github.com/mirage/mirage-entropy.git"
bug-reports:  "https://github.com/mirage/mirage-entropy/issues"
authors:      ["Hannes Mehnert" "David Kaloper" "Anil Madhavapeddy" "Dave Scott"]
maintainer:   "david@numm.org"
license:      "BSD-2-Clause"

build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [make "install"]
remove: [
  ["ocamlfind" "remove" "mirage-entropy-xen"]
]
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind" {build}
  "camlp4" {build}
  "cstruct" {>= "1.4.0" & < "3.0.0"}
  "cstruct-lwt"
  "mirage-xen" {>= "2.2.0" & < "3.0.0"}
  "ocamlbuild" {build}
  "lwt" {< "3.2.0"}
]
tags: [ "org:mirage"]
synopsis: "MirageOS entropy device"
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-entropy/archive/0.3.0.tar.gz"
  checksum: "md5=6259cd4df8e0fe088e1d81a19c7f2944"
}
