New formula: OpenSG 1.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
e3d79cd722
commit
6a36c21bf3
1 changed files with 18 additions and 0 deletions
18
Formula/open-sg.rb
Normal file
18
Formula/open-sg.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
require 'formula'
|
||||
|
||||
class OpenSg <Formula
|
||||
head 'cvs://:pserver:anonymous@opensg.cvs.sourceforge.net:/cvsroot/opensg:OpenSG'
|
||||
homepage 'http://www.opensg.org/wiki'
|
||||
|
||||
depends_on 'libtiff'
|
||||
depends_on 'jpeg'
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
ENV.no_optimization
|
||||
system "./configure", "--prefix=#{prefix}", "--enable-glut", "--enable-tif", "--enable-jpg"
|
||||
Dir.chdir 'Builds/i386-apple-darwin-g++'
|
||||
system "make opt"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue