opam-version: "2.0"
synopsis: "OCaml module for native access to the systemd facilities"
description: "OCaml library allowing interaction with systemd and journald"
maintainer: "Juergen Hoetzel <juergen@archlinux.org>"
authors: "Juergen Hoetzel <juergen@archlinux.org>"
license: "LGPL-3 with OCaml linking exception"
homepage: "https://github.com/juergenhoetzel/ocaml-systemd/"
bug-reports: "https://github.com/mirage/mirage/issues/"
depends: [
  "ocaml"
  "ocamlbuild" {build}
  "ocamlfind" {build}
]
flags: light-uninstall
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  [make "all"]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "systemd"]
depexts: [
  ["libsystemd-dev"] {os-distribution = "debian"}
  ["libsystemd-dev"] {os-distribution = "ubuntu"}
  ["systemd-devel"] {os-distribution = "centos"}
  ["systemd-devel"] {os-distribution = "fedora"}
]
dev-repo: "git+https://github.com/juergenhoetzel/ocaml-systemd.git"
url {
  src: "https://github.com/juergenhoetzel/ocaml-systemd/archive/1.2.tar.gz"
  checksum: "md5=f9206f1284addca555934100b1e68928"
}
