2010-03-14 18:10:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Smpeg <Formula
|
|
|
|
head 'svn://svn.icculus.org/smpeg/trunk'
|
|
|
|
homepage 'http://icculus.org/smpeg/'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-03-14 18:10:07 +00:00
|
|
|
depends_on 'sdl'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./autogen.sh"
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gtktest",
|
|
|
|
"--disable-sdltest"
|
|
|
|
system "make"
|
|
|
|
lib.install Dir[".libs/*.dylib"]
|
|
|
|
bin.install ".libs/plaympeg"
|
|
|
|
end
|
|
|
|
end
|