homebrew-core/Formula/spatialite-tools.rb
Charlie Sharpsteen c0d47d9812 spatialite-tools: Update to 3.0.0
The Iconv bug is still present, so the LDFLAGS work-around stays for now.
2012-01-08 15:00:09 -08:00

18 lines
594 B
Ruby

require 'formula'
class SpatialiteTools < Formula
homepage 'https://www.gaia-gis.it/fossil/spatialite-tools/index'
url 'http://www.gaia-gis.it/gaia-sins/spatialite-tools-3.0.0-stable.tar.gz'
md5 'b54f94eb5297c1cff1820c2a35752a9c'
depends_on 'pkg-config' => :build
depends_on 'libspatialite'
def install
ENV.append 'LDFLAGS', '-liconv' # Fixes 3328. Can be removed in some future release.
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--target=macosx"
system "make install"
end
end