homebrew-core/Formula/ode.rb
Max Howell 06cb65df78 These now depend on automake for Xcode >= 4.3
Fixes Homebrew/homebrew#10559.

Also added missing deps for osm2pgsql.

Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
2012-02-28 15:40:59 +00:00

23 lines
644 B
Ruby

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