2010-01-11 12:28:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libspatialite <Formula
|
2010-11-18 09:59:22 +00:00
|
|
|
url 'http://www.gaia-gis.it/spatialite-2.4.0-4/libspatialite-amalgamation-2.4.0.tar.gz'
|
|
|
|
version '2.4.0-rc4'
|
2010-01-11 12:28:55 +00:00
|
|
|
homepage 'http://www.gaia-gis.it/spatialite/'
|
2010-11-18 09:59:22 +00:00
|
|
|
md5 'e8c863d55766055564b44e606f2be51d'
|
2010-01-11 12:28:55 +00:00
|
|
|
|
|
|
|
depends_on 'proj'
|
|
|
|
depends_on 'geos'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--target=macosx"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|