homebrew-core/Formula/open-sg.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

20 lines
479 B
Ruby

require 'formula'
class OpenSg < Formula
homepage 'http://www.opensg.org/wiki'
head 'cvs://:pserver:anonymous@opensg.cvs.sourceforge.net:/cvsroot/opensg:OpenSG'
depends_on 'libtiff'
depends_on 'jpeg'
def install
ENV.deparallelize
ENV.no_optimization
system "./configure", "--prefix=#{prefix}", "--enable-glut", "--enable-tif", "--enable-jpg"
cd 'Builds/i386-apple-darwin-g++' do
system "make opt"
system "make install"
end
end
end