homebrew-core/Formula/sdl_mixer.rb
nibbles 2bits c5bba15b9d sdl_mixer 1.2.12
Upgrade sdl_mixer to version 1.2.12.
Tested on Lion using clang and llvm from XCode-4.3.3.

Closes Homebrew/homebrew#13157.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-02 13:02:45 -05:00

20 lines
578 B
Ruby

require 'formula'
class SdlMixer < Formula
homepage 'http://www.libsdl.org/projects/SDL_mixer/'
url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz'
sha1 'a20fa96470ad9e1052f1957b77ffa68fb090b384'
depends_on 'sdl'
depends_on 'flac' => :optional
depends_on 'libmikmod' => :optional
depends_on 'libvorbis' => :optional
def install
inreplace 'SDL_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking"
system "make install"
end
end