homebrew-core/Formula/osm2pgsql.rb
Tom Taylor 339d725628 osm2pgsql formula
A utility program that converts OpenStreetMap (.OSM) data into a format that can be loaded into PostgreSQL.
2009-10-03 16:31:58 +01:00

17 lines
330 B
Ruby

require 'brewkit'
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