Skip to content

Commit 8638d0d

Browse files
committed
[new release] conf-fswatch (11-0.1.3)
1 parent e331b58 commit 8638d0d

File tree

2 files changed

+33
-0
lines changed
  • packages/conf-fswatch/conf-fswatch.11-0.1.3

2 files changed

+33
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include <libfswatch.h>
2+
3+
int main(void) {
4+
return 0;
5+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [ "ZAN DoYe" ]
4+
homepage: "https://github.com/kandu/ocaml-fswatch/"
5+
bug-reports: "https://github.com/kandu/ocaml-fswatch/issues"
6+
license: "MIT"
7+
8+
build: [
9+
["sh" "-exec" "cc -I/usr/local/include/libfswatch/c -I/usr/include/libfswatch/c $CFLAGS test.c -lfswatch"] { !(os-distribution = "homebrew" & arch = "arm64") }
10+
["sh" "-exec" "cc -I$(brew --prefix)/include/libfswatch/c $CFLAGS test.c -lfswatch"] { os-distribution = "homebrew" & arch = "arm64" }
11+
]
12+
13+
depexts: [
14+
["libfswatch-dev"] {os-family = "debian"}
15+
["fswatch"] {os-distribution = "arch"}
16+
["sys-fs/fswatch"] {os-distribution = "gentoo"}
17+
["fswatch-mon"] {os = "freebsd"}
18+
["fswatch"] {os = "macos" & os-distribution = "homebrew"}
19+
]
20+
21+
synopsis: "Virtual package relying on libfswatch installation"
22+
description: "This package can install only if the libfswatch is available on the system"
23+
24+
extra-files: [
25+
"test.c" "md5=76de29f84e4438235abc7ce83423b545"
26+
]
27+
28+
flags: [conf]

0 commit comments

Comments
 (0)