homebrew-core/Formula/osm2pgsql.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

22 lines
517 B
Ruby

require 'formula'
class Osm2pgsql < Formula
head 'http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/', :using => :svn
homepage 'http://wiki.openstreetmap.org/wiki/Osm2pgsql'
if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "geos"
depends_on "proj"
def install
system "./autogen.sh"
system "./configure"
system "make"
bin.install "osm2pgsql"
(share+'osm2pgsql').install 'default.style'
end
end