Skip to content

Instantly share code, notes, and snippets.

@christoph-buente
Created April 26, 2012 07:49
Show Gist options
  • Save christoph-buente/2497295 to your computer and use it in GitHub Desktop.
Save christoph-buente/2497295 to your computer and use it in GitHub Desktop.
Osmium Homebrew formula
require 'formula'
class Osmium < Formula
head 'https://github.com/joto/osmium.git'
homepage 'http://wiki.openstreetmap.org/wiki/Osmium'
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 install
cd 'osmjs' do
system "make"
bin.install 'osmjs'
end
system "make doc"
include.install Dir['include/*']
doc.install Dir['doc/*']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment