geos 3.4.2

Closes Homebrew/homebrew#22141.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Kashif Rasul 2013-08-27 10:25:14 +02:00 committed by Adam Vandenberg
parent ce7b52bb4c
commit c448402c15
1 changed files with 5 additions and 9 deletions

View File

@ -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