homebrew-core/Formula/open-sg.rb

21 lines
479 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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