Skip to content
Browse files

New Formula: osmium

  • Loading branch information...
1 parent f067fcb commit b98634497aedd0ee11cca577b5d63b3f184a7cba @christoph-buente committed Apr 23, 2012
Showing with 33 additions and 0 deletions.
  1. +33 −0 Library/Formula/osmium.rb
View
33 Library/Formula/osmium.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class Osmium < Formula
+ head 'https://github.com/joto/osmium.git'
+ homepage 'http://wiki.openstreetmap.org/wiki/Osmium'
+ md5 'dce9eb59d86caf1186fc93567b94feed'
+
+ depends_on 'boost'
+ depends_on 'lzlib'
+ depends_on 'shapelib'
+ depends_on 'expat'
+ depends_on 'geos'
+ depends_on 'protobuf'
+ depends_on 'v8'
+ depends_on 'icu4c'
+ depends_on 'google-sparsehash'
+ depends_on 'osm-pbf'
+
+ skip_clean :all
+
+ def patches
+ # don't use mremap (not supported on Darwin)
+ # See this commit
+ # https://github.com/kkaefer/osmium/commit/20773279ce5f22325577c9eb1737c6e34c8239da
+ "https://raw.github.com/gist/2419092/osmium.patch"
+ end
+
+ def install
+ cd 'osmjs' do
+ system "make"
+ end
+ end
+end

0 comments on commit b986344

Please sign in to comment.
Something went wrong with that request. Please try again.