2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-02 18:02:51 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Geos < Formula
|
2011-05-31 09:01:23 +00:00
|
|
|
url 'http://download.osgeo.org/geos/geos-3.3.0.tar.bz2'
|
2009-10-02 18:02:51 +00:00
|
|
|
homepage 'http://trac.osgeo.org/geos/'
|
2011-05-31 09:01:23 +00:00
|
|
|
md5 '3301f3d1d747b95749384b8a356b022a'
|
2010-04-01 22:46:11 +00:00
|
|
|
|
|
|
|
def skip_clean? path
|
|
|
|
path.extname == '.la'
|
|
|
|
end
|
2009-10-02 18:02:51 +00:00
|
|
|
|
|
|
|
def install
|
2010-01-12 21:31:07 +00:00
|
|
|
ENV.O3
|
2009-10-02 18:02:51 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|