homebrew-core/Formula/smpeg.rb

27 lines
698 B
Ruby
Raw Normal View History

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
head 'svn://svn.icculus.org/smpeg/trunk'
homepage 'http://icculus.org/smpeg/'
2011-03-13 02:14:21 +00:00
depends_on 'pkg-config' => :build
2010-03-14 18:10:07 +00:00
depends_on 'sdl'
if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
2010-03-14 18:10:07 +00:00
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