2010-03-14 18:10:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Smpeg < Formula
|
2010-03-14 18:10:07 +00:00
|
|
|
homepage 'http://icculus.org/smpeg/'
|
2012-07-07 18:08:22 +00:00
|
|
|
head 'svn://svn.icculus.org/smpeg/trunk'
|
|
|
|
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2011-03-13 02:14:21 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
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"
|
2012-04-19 03:40:13 +00:00
|
|
|
# Install script is not +x by default for some reason
|
|
|
|
system "chmod +x ./install-sh"
|
|
|
|
system "make install"
|
2010-03-14 18:10:07 +00:00
|
|
|
end
|
|
|
|
end
|