homebrew-core/Formula/sdl_mixer.rb

21 lines
569 B
Ruby
Raw Normal View History

require 'formula'
2009-09-25 23:53:05 +00:00
2011-03-10 05:11:03 +00:00
class SdlMixer < Formula
url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11.tar.gz'
2009-09-25 23:53:05 +00:00
homepage 'http://www.libsdl.org/projects/SDL_mixer/'
md5 '65ada3d997fe85109191a5fb083f248c'
2009-09-25 23:53:05 +00:00
depends_on 'sdl'
depends_on 'flac' => :optional
depends_on 'libmikmod' => :optional
depends_on 'libvorbis' => :optional
2009-09-25 23:53:05 +00:00
def install
inreplace 'SDL_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX
2009-09-25 23:53:05 +00:00
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking"
2009-09-25 23:53:05 +00:00
system "make install"
end
end