blob: 48e0c9cc43f3ab03896fe9cb6469b1179d49f2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require 'formula'
class Ode < Formula
# Build from svn to get Snow Leopard fixes.
url 'http://opende.svn.sourceforge.net/svnroot/opende/trunk', :revision => 1760
version 'r1760'
homepage 'http://www.ode.org/'
head 'http://opende.svn.sourceforge.net/svnroot/opende/trunk'
if MacOS.xcode_version >= "4.3"
# find a proper tarball with configure and remove autogen and these deps
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
ENV.j1
system "sh autogen.sh"
system "./configure", "--prefix=#{prefix}", "--disable-demos"
system "make"
system "make install"
end
end
|