da3fdbd0cf
* And "mkdir" isntead of "Dir.mkdir" * And "Dir[]" instead of "Dir.glob" * Also style fixes and nitpicks
20 lines
479 B
Ruby
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
|