homebrew-core/Formula/smpeg.rb
Bastian Bechtold e06ad0125e changed formula smpeg to install headers
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-06 06:52:36 -07:00

21 lines
568 B
Ruby

require 'formula'
class Smpeg < Formula
head 'svn://svn.icculus.org/smpeg/trunk'
homepage 'http://icculus.org/smpeg/'
depends_on 'pkg-config' => :build
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"
include.install Dir["*.h"]
end
end