opam-version: "2.0"
maintainer: "Markus W. Weissmann <markus.weissmann@in.tum.de>"
authors: [ "Markus W. Weissmann <markus.weissmann@in.tum.de>" ]
license: "MIT"
homepage: "https://github.com/mwweissmann/ocaml-posix-semaphore"
doc: "http://posix-semaphore.forge.ocamlcore.org/doc/"
dev-repo: "git://github.com/mwweissmann/ocaml-posix-semaphore.git"
bug-reports: "https://github.com/mwweissmann/ocaml-posix-semaphore/issues"
tags: [ "clib:rt"  ]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
  ["ocamlfind" "remove" "posix-semaphore"]
]
depends: [
  "ocaml"
  "result"
  "base-unix"
  "posix-time" {>= "0.5.0"}
  "ocamlfind" {>= "1.5"}
  "ocamlbuild" {build}
]
available: os != "macos"
synopsis: "POSIX semaphore"
description: """
The POSIX sempahore library provides access to POSIX named and unnamed
semaphores and the functions to work with them."""
flags: light-uninstall
url {
  src:
    "https://github.com/mwweissmann/ocaml-posix-semaphore/archive/0.5.0.tar.gz"
  checksum: "md5=30ac98c5b8ab1efd73a0533eec7b9b9c"
}
