parent
ce7b52bb4c
commit
c448402c15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue