2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-02 18:02:51 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Geos < Formula
|
2012-06-25 21:34:10 +00:00
|
|
|
homepage 'http://trac.osgeo.org/geos'
|
2013-08-27 08:25:14 +00:00
|
|
|
url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2'
|
|
|
|
sha1 'b8aceab04dd09f4113864f2d12015231bb318e9a'
|
2010-04-01 22:46:11 +00:00
|
|
|
|
2014-04-10 10:40:32 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "4ac17dfbdba05100815488176ba8afeeb97a9319" => :mavericks
|
|
|
|
sha1 "a49a9202b50c9d6f0f5572661c528b9e2f9f429a" => :mountain_lion
|
|
|
|
sha1 "c00c210e9fc5da69cb182f96d1e3a642980ebc1d" => :lion
|
|
|
|
end
|
|
|
|
|
2012-10-02 20:55:04 +00:00
|
|
|
option :universal
|
2013-10-12 11:35:55 +00:00
|
|
|
option :cxx11
|
2012-10-02 20:55:04 +00:00
|
|
|
|
2014-05-15 05:13:53 +00:00
|
|
|
fails_with :llvm
|
|
|
|
|
2009-10-02 18:02:51 +00:00
|
|
|
def install
|
2013-08-27 08:25:14 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2013-10-12 11:35:55 +00:00
|
|
|
ENV.cxx11 if build.cxx11?
|
2013-08-27 08:25:14 +00:00
|
|
|
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-10-02 18:02:51 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|