homebrew-core/Formula/xastir.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

26 lines
672 B
Ruby

require 'formula'
class Xastir < Formula
homepage 'http://www.xastir.org/'
url 'https://downloads.sourceforge.net/xastir/xastir-2.0.4.tar.gz'
sha1 'b154976c33083c4b2f0c75f0f4ed8e282a27c961'
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