2010-02-10 10:57:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SpatialiteTools < Formula
|
2011-03-25 15:13:42 +00:00
|
|
|
url 'http://www.gaia-gis.it/spatialite-2.4.0-5/spatialite-tools-2.4.0.tar.gz'
|
|
|
|
version '2.4.0-rc5'
|
2010-02-10 10:57:56 +00:00
|
|
|
homepage 'http://www.gaia-gis.it/spatialite/'
|
2011-03-25 15:13:42 +00:00
|
|
|
md5 '7a6b175661b27a5cb9da95209ed53f56'
|
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
|