Skip to content

Commit

Permalink
New Formula: osmium
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-buente committed Apr 23, 2012
1 parent f067fcb commit b986344
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions 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.