homebrew-core/Formula/xastir.rb
Brett Koonce 4b56a1e298 xastir 2.0.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-04 09:25:27 -08:00

26 lines
671 B
Ruby

require 'formula'
class Xastir < Formula
homepage 'http://www.xastir.org/'
url 'http://downloads.sourceforge.net/xastir/xastir-2.0.2.tar.gz'
sha1 '54a94a02349ddf8ec0e48f722cbab760a587000a'
depends_on 'proj'
depends_on 'pcre'
depends_on 'berkeley-db'
depends_on 'gdal'
depends_on 'libgeotiff'
depends_on 'lesstif'
depends_on 'jasper'
depends_on 'graphicsmagick'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end