2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-03 13:19:16 +00:00
|
|
|
require 'date'
|
|
|
|
|
|
|
|
class Osm2pgsql <Formula
|
|
|
|
head 'http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/'
|
|
|
|
homepage 'http://wiki.openstreetmap.org/wiki/Osm2pgsql'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "osm2pgsql"
|
|
|
|
end
|
|
|
|
|
|
|
|
def download_strategy
|
|
|
|
SubversionDownloadStrategy
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|