homebrew-core/Formula/osm2pgsql.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

17 lines
330 B
Ruby

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