61b2307139
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.
17 lines
330 B
Ruby
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
|