homebrew-core/Formula/spatialite-tools.rb
Charlie Sharpsteen 01deaa5051 Use stable urls for all Gaia-SINS projects
Ammend links for freexl, libspatialite, librasterlite, libgaiagraphics and
spatialite-tools to point at the archives rather than the front page.

The front page link breaks when new releases are made.
2012-05-05 10:23:21 -07:00

19 lines
622 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-sources/spatialite-tools-3.0.0-stable.tar.gz'
md5 'b54f94eb5297c1cff1820c2a35752a9c'
depends_on 'pkg-config' => :build
depends_on 'libspatialite'
def install
# See: https://github.com/mxcl/homebrew/issues/3328
ENV.append 'LDFLAGS', '-liconv'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--target=macosx"
system "make install"
end
end