File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
packages/conf-fswatch/conf-fswatch.11-0.1.3 Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ #include <libfswatch.h>
2+
3+ int main (void ) {
4+ return 0 ;
5+ }
Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ 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]
You can’t perform that action at this time.
0 commit comments