homebrew-core/Formula/spatialite-tools.rb

20 lines
614 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class SpatialiteTools < Formula
url 'http://www.gaia-gis.it/spatialite-2.4.0-5/spatialite-tools-2.4.0.tar.gz'
version '2.4.0-rc5'
homepage 'http://www.gaia-gis.it/spatialite/'
md5 '7a6b175661b27a5cb9da95209ed53f56'
depends_on 'pkg-config' => :build
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
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--target=macosx"
system "make install"
end
end