homebrew-core/Formula/osm2pgsql.rb
Kashif Rasul 6ad8d70a7e copy default.style file to share/osm2pgsql
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-26 07:53:57 -07:00

14 lines
364 B
Ruby

require 'formula'
class Osm2pgsql < Formula
head 'http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/', :using => :svn
homepage 'http://wiki.openstreetmap.org/wiki/Osm2pgsql'
def install
system "./autogen.sh"
system "./configure"
system "make"
bin.install "osm2pgsql"
(share+'osm2pgsql').install 'default.style'
end
end