mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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.
18 lines
330 B
Ruby
18 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
|