opam-version: "2.0"
maintainer: "xen-api@list.xensource.com"
authors: ["Edwin Török"]
homepage: "https://github.com/xapi-project/ocaml-dlm/"
bug-reports: "https://github.com/xapi-project/ocaml-dlm/issues"
dev-repo: "git+https://github.com/xapi-project/ocaml-dlm.git"
doc: "https://xapi-project.github.io/ocaml-dlm/doc"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
build: [
  ["jbuilder" "build" "--only" name "--root" "." "-j" jobs "@install"]
  ["jbuilder" "runtest" "-p" name] {with-test}
]
depends: [
  "ocaml"
  "jbuilder" {>= "1.0+beta10"}
  "ctypes" {>= "0.11.1"}
  "lwt"
  "unix-errno"
  "ounit"
  "uuidm"
]
depexts: [
  ["libdlm-dev"] {os-family = "debian"}
  ["dlm-devel"] {os-distribution = "rhel"}
  ["dlm-devel"] {os-distribution = "centos"}
  ["dlm-devel"] {os-distribution = "fedora"}
  ["dlm-devel"] {os-distribution = "ol"}
  ["dlm-git"] {os-distribution = "arch"}
  ["libdlm-devel"] {os-family = "suse"}
]
available: [ os = "linux" & os != "alpine" ]
synopsis: "Libdlm bindings"
description: """
[![Build Status](https://travis-ci.org/xapi-project/ocaml-dlm.svg?branch=master)](https://travis-ci.org/xapi-project/ocaml-dlm)

Bindings to the Linux Distributed Lock Manager `libdlm(3)`.

Documentation can be found [online](https://xapi-project.github.io/ocaml-dlm/doc/dlm/Dlm/index.html)."""
url {
  src:
    "https://github.com/xapi-project/ocaml-dlm/releases/download/v0.3.0/dlm-0.3.0.tbz"
  checksum: "md5=dac7206c4f86fc1a1492cbdc3862e013"
}
