Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New Formula: osm-pbf

  • Loading branch information...
commit f067fcbceb72a6b3002ace1a8fe7b4d0c1657a76 1 parent 446cfdf
@christoph-buente authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 Library/Formula/osm-pbf.rb
View
17 Library/Formula/osm-pbf.rb
@@ -0,0 +1,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
Please sign in to comment.
Something went wrong with that request. Please try again.