From 1b4de2d5b0217ff034ca4d7fcb3db03fa755520f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCnte?= Date: Thu, 26 Apr 2012 22:52:33 +0200 Subject: [PATCH] osm-pbf 1.2.1 Signed-off-by: Adam Vandenberg --- Formula/osm-pbf.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/osm-pbf.rb diff --git a/Formula/osm-pbf.rb b/Formula/osm-pbf.rb new file mode 100644 index 00000000000..ea8b3b49095 --- /dev/null +++ b/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