opam-version: "2.0"
maintainer: "dave@recoil.org"
tags: [
  "org:mirage"
  "org:xapi-project"
]
build: make
remove: [[make "uninstall"]]
depends: ["ocaml" "ocamlfind"]
depexts: [
  ["libaio-dev"] {os-family = "debian"}
]
patches: ["meta.patch"]
install: [make "install"]
synopsis: "Linux kernel AIO access library for ocaml"
description: """
Use this if you want very efficient I/O on Linux. Note this is not
an implementation of "POSIX AIO".

Linux AIO allows a single thread to submit multiple I/O operations and
perform other computations while they are in progress. To increase
efficiency, all data is read and written in page-aligned buffers."""
extra-files: ["meta.patch" "md5=b76689eef7b6f6fb1373ee82c79e0b54"]
url {
  src:
    "https://download.ocamlcore.org/libaio-ocaml/libaio-ocaml/1.0/libaio-ocaml_1.0.orig.tar.gz"
  checksum: "md5=bc99ae0567d9feb4952c73da305aeb95"
}
