Skip to content

Instantly share code, notes, and snippets.

@hugopeixoto
Created October 22, 2011 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugopeixoto/1306088 to your computer and use it in GitHub Desktop.
Save hugopeixoto/1306088 to your computer and use it in GitHub Desktop.
geos 3.3.1 formula
require 'formula'
class Geos < Formula
url 'http://download.osgeo.org/geos/geos-3.3.1.tar.bz2'
homepage 'http://trac.osgeo.org/geos/'
md5 'b1ceefe205c9ee520b99f2b072c345f7'
def skip_clean? path
path.extname == '.la'
end
fails_with_llvm "Some symbols are missing during link step."
def install
ENV.O3
# Force CLang instead of LLVM-GCC on Lion:
# http://trac.osgeo.org/geos/ticket/463
ENV.clang if MacOS.lion?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment