homebrew-core/Formula/toilet.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
484 B
Ruby

require 'formula'
class Toilet < Formula
homepage 'http://caca.zoy.org/wiki/toilet'
url 'http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-0.3.tar.gz'
sha1 '73ea7aa2b0470ac0fecc103d7eeed0048684a505'
depends_on 'pkg-config' => :build
depends_on 'libcaca'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/toilet", "--version"
end
end