From 1db195f1a40e82427eb32ca02f497bebf034585f Mon Sep 17 00:00:00 2001 From: Juha laukkanen Date: Tue, 27 Jan 2015 11:22:59 -0800 Subject: sound-touch: add universal option. Closes #36313. Signed-off-by: Mike McQuaid --- Library/Formula/sound-touch.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/sound-touch.rb b/Library/Formula/sound-touch.rb index b37a91af5..51d6b8481 100644 --- a/Library/Formula/sound-touch.rb +++ b/Library/Formula/sound-touch.rb @@ -13,6 +13,7 @@ class SoundTouch < Formula end option "with-integer-samples", "Build using integer samples? (default is float)" + option :universal depends_on "autoconf" => :build depends_on "automake" => :build @@ -25,6 +26,8 @@ class SoundTouch < Formula "--prefix=#{prefix}"] args << "--enable-integer-samples" if build.with? "integer-samples" + ENV.universal_binary if build.universal? + system "./configure",*args system "make", "install" end -- cgit v1.2.3