From 3675cfddfa2480c8169b7ef3a6db6d5699c83d2e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Sep 2012 01:14:18 -0700 Subject: toilet: fix test and pkg-config dependency. --- Library/Formula/toilet.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3