homebrew-core/Formula/sdl_mixer.rb

22 lines
581 B
Ruby
Raw Normal View History

require 'formula'
require Formula.path('sdl')
2009-09-25 23:53:05 +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
Sdl.use_homebrew_prefix 'SDL_mixer.pc.in'
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