aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/toilet.rb
blob: cae470610a46a5ed227f4b7700aee04be011ebc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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

  def test
    system "#{bin}/toilet", "--version"
   end
end