7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
434 B
Ruby
16 lines
434 B
Ruby
require 'formula'
|
|
|
|
class Ode <Formula
|
|
# Build from svn to get Snow Leopard fixes.
|
|
url 'https://opende.svn.sourceforge.net/svnroot/opende/trunk', :revision => '1728'
|
|
homepage 'http://www.ode.org/'
|
|
|
|
def install
|
|
ENV.j1
|
|
# only necessary when downloading from svn
|
|
system "sh autogen.sh" unless File.exist? "configure"
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|