21 lines
698 B
Ruby
21 lines
698 B
Ruby
|
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
|