aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-02-02 16:26:37 -0600
committerJack Nagel2013-02-02 16:26:37 -0600
commit3ec12feb3c3ba06c50edc81399e1a7c050ac4dd3 (patch)
treee972fd6665f929ec655a6b2be7c298255fab4728 /Library/Formula
parentfcebb13b9183ba904fac7d2a757f96a7ae6aa6a7 (diff)
downloadhomebrew-3ec12feb3c3ba06c50edc81399e1a7c050ac4dd3.tar.bz2
audiofile: use optional dep
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/audiofile.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/audiofile.rb b/Library/Formula/audiofile.rb
index 5c9ae3276..fd546b9a7 100644
--- a/Library/Formula/audiofile.rb
+++ b/Library/Formula/audiofile.rb
@@ -5,17 +5,17 @@ class Audiofile < Formula
url 'https://github.com/downloads/mpruett/audiofile/audiofile-0.3.4.tar.gz'
sha1 'e6f664b0d551df35ce0c10e38e5617bcd4605335'
- option 'with-lcov', 'Enable Code Coverage support using lcov.'
+ option 'with-lcov', 'Enable Code Coverage support using lcov'
option 'with-check', 'Run the test suite during install ~30sec'
- depends_on 'lcov' if build.include? 'with-lcov'
+ depends_on 'lcov' => :optional
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
- args << '--enable-coverage' if build.include? 'with-lcov'
+ args << '--enable-coverage' if build.with? 'lcov'
system "./configure", *args
system "make"
- system "make check" if build.include? 'with-check'
+ system "make check" if build.with? 'check'
system "make install"
end