aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fsevent_watch.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/fsevent_watch.rb b/Library/Formula/fsevent_watch.rb
new file mode 100644
index 000000000..df3f8a7f1
--- /dev/null
+++ b/Library/Formula/fsevent_watch.rb
@@ -0,0 +1,16 @@
+class FseventWatch < Formula
+ homepage "https://github.com/proger/fsevent_watch"
+ url "https://github.com/proger/fsevent_watch/archive/v0.1.tar.gz"
+ sha256 "260979f856a61230e03ca1f498c590dd739fd51aba9fa36b55e9cae776dcffe3"
+
+ head "https://github.com/proger/fsevent_watch.git"
+
+ def install
+ bin.mkpath
+ system "make", "install", "PREFIX=#{prefix}", "CFLAGS=-DCLI_VERSION=\\\"#{version}\\\""
+ end
+
+ test do
+ system "fsevent_watch", "--version"
+ end
+end