aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bünte2012-04-26 22:52:33 +0200
committerAdam Vandenberg2012-06-06 22:28:28 -0700
commitd881a5375844a566db2ae79ac8aa562274a027a5 (patch)
treedca31321f1288deb84b548601d753fe5c2a39460
parentcc5e961d999514d901cb0def87c552ccf6bdf641 (diff)
downloadhomebrew-d881a5375844a566db2ae79ac8aa562274a027a5.tar.bz2
osm-pbf 1.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/osm-pbf.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/osm-pbf.rb b/Library/Formula/osm-pbf.rb
new file mode 100644
index 000000000..ea8b3b490
--- /dev/null
+++ b/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