require 'formula' class OsmPbf < Formula homepage 'http://wiki.openstreetmap.org/wiki/PBF_Format' url 'https://github.com/scrosby/OSM-binary/tarball/v1.3.0' sha1 '6796c242eb8ccdf00220359887a15142f85a1722' depends_on 'protobuf' def install cd 'src' do system "make" lib.install 'libosmpbf.a' end include.install Dir['include/*'] end end