aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 14:35:07 -0600
committerJack Nagel2014-11-14 14:46:43 -0600
commite922d6e8cdc297f43424ce136fac33296b5155b8 (patch)
treed273b3f6d10bb3620d4cab8d3414c9f030d90f98 /Library
parentc7dd3f5a0f81807193468b6016ce35e3ad3dcff0 (diff)
downloadhomebrew-e922d6e8cdc297f43424ce136fac33296b5155b8.tar.bz2
bpm-tools: combine conditionals
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bpm-tools.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/bpm-tools.rb b/Library/Formula/bpm-tools.rb
index 693d9aa57..0aa71a44e 100644
--- a/Library/Formula/bpm-tools.rb
+++ b/Library/Formula/bpm-tools.rb
@@ -10,10 +10,13 @@ class BpmTools < Formula
option 'with-bpm-tag', 'Install audio file tagging script'
depends_on 'gnuplot' if build.with? 'bpm-graph'
- depends_on 'sox' if build.with? 'bpm-tag'
- depends_on 'id3v2' if build.with? 'bpm-tag'
- depends_on 'flac' if build.with? 'bpm-tag'
- depends_on 'vorbis-tools' if build.with? 'bpm-tag'
+
+ if build.with? "bpm-tag"
+ depends_on 'sox'
+ depends_on 'id3v2'
+ depends_on 'flac'
+ depends_on 'vorbis-tools'
+ end
def install
system "make"