parent
ce7b52bb4c
commit
c448402c15
|
@ -2,19 +2,15 @@ require 'formula'
|
||||||
|
|
||||||
class Geos < Formula
|
class Geos < Formula
|
||||||
homepage 'http://trac.osgeo.org/geos'
|
homepage 'http://trac.osgeo.org/geos'
|
||||||
url 'http://download.osgeo.org/geos/geos-3.4.1.tar.bz2'
|
url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2'
|
||||||
sha1 '0fee633694049192726149f83c47fef4d73c7468'
|
sha1 'b8aceab04dd09f4113864f2d12015231bb318e9a'
|
||||||
|
|
||||||
option :universal
|
option :universal
|
||||||
|
|
||||||
depends_on 'cmake' => :build
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
if build.universal?
|
ENV.universal_binary if build.universal?
|
||||||
ENV.universal_binary
|
|
||||||
ENV['CMAKE_OSX_ARCHITECTURES'] = Hardware::CPU.universal_archs.as_cmake_arch_flags
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||||
end
|
|
||||||
system "cmake", ".", *std_cmake_args
|
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue