opam-version: "2.0"
maintainer: "dave@recoil.org"
authors: [ "David Scott" ]
license: "ISC"
homepage: "https://github.com/mirage/ocaml-asl"
dev-repo: "git+https://github.com/mirage/ocaml-asl.git"
bug-reports: "https://github.com/mirage/ocaml-asl/issues"

build: [
  [make "PREFIX=%{prefix}%"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [make "PREFIX=%{prefix}%" "install"]

remove: [["ocamlfind" "remove" "asl"]]

depends: [
  "ocaml"
  "result"
  "logs"
  "ocamlfind" {build}
  "ocamlbuild" {build}
]
synopsis: "Bindings for the Apple System Log API"
description: """
The Apple System Log allows applications to send log messages, which can
be recorded, filtered and searched."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/ocaml-asl/archive/v0.10.tar.gz"
  checksum: "md5=74ade9e7a2015bbfa54d220ec4dcb7af"
}
