opam-version: "2.0"
maintainer: "Romain Beauxis <toots@rastageeks.org>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-dtools"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [
  [make "install"]
]
remove: ["ocamlfind" "remove" "dtools"]
depends: [
  "ocaml"
  "ocamlfind" {build}
]
bug-reports: "https://github.com/savonet/ocaml-dtools/issues"
dev-repo: "git+https://github.com/savonet/ocaml-dtools.git"
synopsis: "Library providing various helper functions to make daemons"
description: """
A set of useful functions for writing daemon services in OCaml.

It includes support for:
 * configuration options
 * logging
 * detaching and writing PID file
 * start-up and shutdown task manager"""
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-dtools/releases/download/0.4.0/ocaml-dtools-0.4.0.tar.gz"
  checksum: "md5=2d351fbf5a4f5aef4963221c20ca5b00"
}
