2010-03-16 21:52:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ode <Formula
|
|
|
|
# Build from svn to get Snow Leopard fixes.
|
2010-10-20 04:33:35 +00:00
|
|
|
url 'http://opende.svn.sourceforge.net/svnroot/opende/trunk', :revision => 1760
|
2010-10-17 10:43:16 +00:00
|
|
|
version 'r1760'
|
2010-03-16 21:52:24 +00:00
|
|
|
homepage 'http://www.ode.org/'
|
2010-10-20 04:33:35 +00:00
|
|
|
head 'http://opende.svn.sourceforge.net/svnroot/opende/trunk'
|
2010-03-16 21:52:24 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.j1
|
|
|
|
# only necessary when downloading from svn
|
|
|
|
system "sh autogen.sh" unless File.exist? "configure"
|
2010-10-20 04:33:35 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-demos"
|
2010-03-16 21:52:24 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|