diff options
| author | Mike McQuaid | 2012-09-02 01:14:18 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-04 19:44:45 -0700 |
| commit | 3675cfddfa2480c8169b7ef3a6db6d5699c83d2e (patch) | |
| tree | ba290107c0b5f2af67d1018b6a8fa19104bfcfc7 /Library | |
| parent | 746615c1a80df58510b40b38d39aa242d6415bb3 (diff) | |
| download | homebrew-3675cfddfa2480c8169b7ef3a6db6d5699c83d2e.tar.bz2 | |
toilet: fix test and pkg-config dependency.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/toilet.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/toilet.rb b/Library/Formula/toilet.rb index 912e52ffa..cae470610 100644 --- a/Library/Formula/toilet.rb +++ b/Library/Formula/toilet.rb @@ -5,6 +5,7 @@ class Toilet < Formula 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 @@ -12,4 +13,8 @@ class Toilet < Formula "--prefix=#{prefix}" system "make install" end + + def test + system "#{bin}/toilet", "--version" + end end |
