opam-version: "2.0"
maintainer: "zandoye@gmail.com"
authors: [ "ZAN DoYe" ]
homepage: "https://github.com/kandu/ocaml-fswatch/"
bug-reports: "https://github.com/kandu/ocaml-fswatch/issues"
license: "MIT"

build: [
  ["sh" "-exec" "cc -I/usr/local/include/libfswatch/c -I/usr/include/libfswatch/c $CFLAGS test.c -lfswatch"]
]

depexts: [
  ["libfswatch-dev"] {os-family = "debian"}
  ["fswatch"] {os-distribution = "arch"}
  ["sys-fs/fswatch"] {os-distribution = "gentoo"}
  ["fswatch-mon"] {os = "freebsd"}
  ["fswatch"] {os = "macos" & os-distribution = "homebrew"}
]

synopsis: "Virtual package relying on libfswatch installation"
description: "This package can install only if the libfswatch is available on the system"

extra-files: [
  "test.c" "md5=76de29f84e4438235abc7ce83423b545"
]

flags: [conf]
