homebrew-core/Formula/smpeg.rb
Ben Willmore a13ac3432c smpeg: install smpeg-config
This file is needed so that dependencies can configure themselves

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-07 10:18:27 -07:00

22 lines
601 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"
bin.install "./smpeg-config"
include.install Dir["*.h"]
end
end