aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geos.rb14
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/geos.rb b/Library/Formula/geos.rb
index 5292c4989..e3a243fab 100644
--- a/Library/Formula/geos.rb
+++ b/Library/Formula/geos.rb
@@ -2,19 +2,15 @@ require 'formula'
class Geos < Formula
homepage 'http://trac.osgeo.org/geos'
- url 'http://download.osgeo.org/geos/geos-3.4.1.tar.bz2'
- sha1 '0fee633694049192726149f83c47fef4d73c7468'
+ url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2'
+ sha1 'b8aceab04dd09f4113864f2d12015231bb318e9a'
option :universal
- depends_on 'cmake' => :build
-
def install
- if build.universal?
- ENV.universal_binary
- ENV['CMAKE_OSX_ARCHITECTURES'] = Hardware::CPU.universal_archs.as_cmake_arch_flags
- end
- system "cmake", ".", *std_cmake_args
+ ENV.universal_binary if build.universal?
+
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end