Skip to content

Commit 4a877ad

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

File tree

1 file changed

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

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
dev-repo: "git+https://github.com/kandu/ocaml-fswatch"
8+
build: [
9+
["sh" "-exec" "echo \\(-I/usr/local/include/libfswatch/c -I/usr/include/libfswatch/c\\) > fswatch/src/inc_cflags"] { !(os-distribution = "homebrew" & arch = "arm64") }
10+
["sh" "-exec" "echo -lfswatch > fswatch/src/inc_libs"] { !(os-distribution = "homebrew" & arch = "arm64") }
11+
12+
["sh" "-exec" "echo -I$(brew --prefix)/include/libfswatch/c > fswatch/src/inc_cflags"] { os-distribution = "homebrew" & arch = "arm64" }
13+
["sh" "-exec" "echo \\(-L$(brew --prefix)/lib -lfswatch\\) > fswatch/src/inc_libs"] { os-distribution = "homebrew" & arch = "arm64" }
14+
15+
["dune" "build" "-p" name "-j" jobs]
16+
]
17+
depends: [
18+
"ocaml" {>= "4.03.0"}
19+
"conf-fswatch"
20+
"dune" {>= "1.4"}
21+
]
22+
23+
synopsis: "Bindings for libfswatch -- file change monitor"
24+
description: """fswatch is a file change monitor that receives notifications when the contents of the specified files or directories are modified."""
25+
26+
url {
27+
src: "https://github.com/kandu/ocaml-fswatch/archive/11-0.1.3.tar.gz"
28+
checksum: "md5=10ff6b35632fde8057e93552d35e831a"
29+
}

0 commit comments

Comments
 (0)