2010-02-10 10:57:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SpatialiteTools < Formula
|
2012-01-08 22:04:13 +00:00
|
|
|
homepage 'https://www.gaia-gis.it/fossil/spatialite-tools/index'
|
2012-05-05 17:21:32 +00:00
|
|
|
url 'http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-3.0.0-stable.tar.gz'
|
2012-01-08 22:04:13 +00:00
|
|
|
md5 'b54f94eb5297c1cff1820c2a35752a9c'
|
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
|
2012-03-11 22:04:50 +00:00
|
|
|
# See: https://github.com/mxcl/homebrew/issues/3328
|
|
|
|
ENV.append 'LDFLAGS', '-liconv'
|
2012-01-08 22:04:13 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--target=macosx"
|
2010-02-10 10:57:56 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|