blob: 799122ee859927934dd569c9c16c65ffcc68217d (
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/archive/v1.3.0.tar.gz'
sha1 'bb9bcd776f2876696b5c5d970d3a68c2222a7ac3'
depends_on 'protobuf'
def install
cd 'src' do
system "make"
lib.install 'libosmpbf.a'
end
include.install Dir['include/*']
end
end
|