homebrew-core/Formula/smpeg.rb
Jack Nagel a719fa11b9 smpeg: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:47:23 -05:00

25 lines
652 B
Ruby

require 'formula'
class Smpeg < Formula
homepage 'http://icculus.org/smpeg/'
head 'svn://svn.icculus.org/smpeg/trunk'
depends_on :automake
depends_on :libtool
depends_on 'pkg-config' => :build
depends_on 'sdl'
depends_on 'gtk+'
def install
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gtktest",
"--disable-sdltest"
system "make"
# Install script is not +x by default for some reason
system "chmod +x ./install-sh"
system "make install"
end
end