2012-04-26 20:52:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class OsmPbf < Formula
|
|
|
|
homepage 'http://wiki.openstreetmap.org/wiki/PBF_Format'
|
|
|
|
url 'https://github.com/scrosby/OSM-binary/tarball/v1.2.1'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'c12e6649e8aa00a460f54db7f84e723503367fc2'
|
2012-04-26 20:52:33 +00:00
|
|
|
|
|
|
|
depends_on 'protobuf'
|
|
|
|
|
|
|
|
def install
|
|
|
|
cd 'src' do
|
|
|
|
system "make"
|
|
|
|
lib.install 'libosmpbf.a'
|
|
|
|
end
|
|
|
|
include.install Dir['include/*']
|
|
|
|
end
|
|
|
|
end
|