2010-02-10 10:57:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class SpatialiteTools <Formula
|
2010-11-18 09:59:22 +00:00
|
|
|
url 'http://www.gaia-gis.it/spatialite-2.4.0-4/spatialite-tools-2.4.0.tar.gz'
|
|
|
|
version '2.4.0-rc4'
|
2010-02-10 10:57:56 +00:00
|
|
|
homepage 'http://www.gaia-gis.it/spatialite/'
|
2010-11-18 09:59:22 +00:00
|
|
|
md5 'e161e774a26e874d7d92d428ae2ad685'
|
2010-02-10 10:57:56 +00:00
|
|
|
|
2010-11-30 09:40:58 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-02-10 10:57:56 +00:00
|
|
|
depends_on 'libspatialite'
|
|
|
|
|
|
|
|
def install
|
2010-11-23 11:03:04 +00:00
|
|
|
ENV.append 'LDFLAGS', '-liconv' # Fixes 3328 should be removed with next version
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--target=macosx"
|
2010-02-10 10:57:56 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|