direvent 5.1 (new formula)
Closes #4151. Signed-off-by: Andrew Janke <janke@eilonwy.local>
This commit is contained in:
parent
495d9d8eb8
commit
e386f6fbc6
1 changed files with 20 additions and 0 deletions
20
Formula/direvent.rb
Normal file
20
Formula/direvent.rb
Normal 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
|
Loading…
Reference in a new issue