From e922d6e8cdc297f43424ce136fac33296b5155b8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Nov 2014 14:35:07 -0600 Subject: bpm-tools: combine conditionals --- Library/Formula/bpm-tools.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3