direvent 5.1 (new formula)

Closes #4151.

Signed-off-by: Andrew Janke <janke@eilonwy.local>
This commit is contained in:
Fredrik Fornwall 2016-07-08 21:48:51 +02:00 committed by Andrew Janke
parent 495d9d8eb8
commit e386f6fbc6

20
Formula/direvent.rb Normal file
View file

@ -0,0 +1,20 @@
class Direvent < Formula
desc "Monitors events in the file system directories"
homepage "http://www.gnu.org.ua/software/direvent/direvent.html"
url "https://ftpmirror.gnu.org/direvent/direvent-5.1.tar.gz"
mirror "https://ftp.gnu.org/gnu/direvent/direvent-5.1.tar.gz"
sha256 "c461600d24183563a4ea47c2fd806037a43354ea68014646b424ac797a959bdb"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "check"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("#{bin}/direvent --version")
end
end