homebrew-core/Formula/librasterlite.rb

20 lines
624 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Librasterlite < Formula
2012-01-08 22:11:19 +00:00
homepage 'https://www.gaia-gis.it/fossil/librasterlite/index'
url 'http://www.gaia-gis.it/gaia-sins/librasterlite-sources/librasterlite-1.1b.tar.gz'
2012-01-08 22:11:19 +00:00
md5 '3100a552fa776ad1124ba00657760dea'
depends_on "libgeotiff"
depends_on "libspatialite"
def install
2012-01-08 22:11:19 +00:00
ENV.x11 # For image format libraries
# Ensure Homebrew SQLite libraries are found before the system SQLite
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
2012-01-08 22:11:19 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end