Files
tigerbrew/Library/Formula/geos.rb
T
Kashif Rasul 0d499de38a geos 3.4.1
Closes #21978.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-19 21:23:26 -07:00

21 lines
481 B
Ruby

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'
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
system "make install"
end
end