homebrew-core/Formula/xtail.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

20 lines
483 B
Ruby

require 'formula'
class Xtail < Formula
homepage 'http://www.unicom.com/sw/xtail'
url 'http://www.unicom.com/files/xtail-2.1.tar.gz'
sha1 '1188baaf47e19a1ed6176a17ee6d144078657c17'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
man1.mkpath
bin.mkpath
system "make install"
end
test do
system "#{bin}/xtail"
end
end