From e386f6fbc69d55014f54a60c5581c5534081e895 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 8 Jul 2016 21:48:51 +0200 Subject: [PATCH] direvent 5.1 (new formula) Closes #4151. Signed-off-by: Andrew Janke --- Formula/direvent.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Formula/direvent.rb diff --git a/Formula/direvent.rb b/Formula/direvent.rb new file mode 100644 index 0000000000..188e18756d --- /dev/null +++ b/Formula/direvent.rb @@ -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