blob: ea8b3b49095b01154457bb2147c358c98ee715b0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | 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
 |