From 62dd12ff7ed7be053d516a16a011bc4d7e31a7d2 Mon Sep 17 00:00:00 2001 From: Alex Mayfield Date: Wed, 23 Oct 2013 01:53:56 -0400 Subject: sdl_mixer: add universal option. Closes #23461. Signed-off-by: Mike McQuaid --- Library/Formula/sdl_mixer.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula/sdl_mixer.rb') diff --git a/Library/Formula/sdl_mixer.rb b/Library/Formula/sdl_mixer.rb index 73f3eb70d..83be6c0c2 100644 --- a/Library/Formula/sdl_mixer.rb +++ b/Library/Formula/sdl_mixer.rb @@ -5,6 +5,8 @@ class SdlMixer < Formula url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz' sha1 'a20fa96470ad9e1052f1957b77ffa68fb090b384' + option :universal + depends_on 'pkg-config' => :build depends_on 'sdl' depends_on 'flac' => :optional @@ -14,6 +16,8 @@ class SdlMixer < Formula def install inreplace 'SDL_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX + ENV.universal_binary if build.universal? + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" -- cgit v1.2.3