homebrew-core/Formula/osm-pbf.rb

18 lines
366 B
Ruby
Raw Normal View History

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