require 'formula' class Osm2pgsql :svn homepage 'http://wiki.openstreetmap.org/wiki/Osm2pgsql' def install system "./autogen.sh" system "./configure" system "make" bin.install "osm2pgsql" end end