fsevents 1.0.0 (new formula)
Closes #4082. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
02409c278e
commit
58bca2193f
1 changed files with 30 additions and 0 deletions
30
Formula/fsevents-tools.rb
Normal file
30
Formula/fsevents-tools.rb
Normal file
|
@ -0,0 +1,30 @@
|
|||
class FseventsTools < Formula
|
||||
desc "Command-line utilities for the FSEvents API"
|
||||
homepage "http://geoff.greer.fm/fsevents/"
|
||||
url "http://geoff.greer.fm/fsevents/releases/fsevents-tools-1.0.0.tar.gz"
|
||||
sha256 "498528e1794fa2b0cf920bd96abaf7ced15df31c104d1a3650e06fa3f95ec628"
|
||||
|
||||
head do
|
||||
url "https://github.com/ggreer/fsevents-tools.git"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
end
|
||||
|
||||
def install
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
fork do
|
||||
sleep 2
|
||||
touch "testfile"
|
||||
end
|
||||
assert_match "notifying", shell_output("#{bin}/notifywait testfile")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue