homebrew-core/Formula/blitz.rb
Fabian Hassler 54d1418a24 blitz: fix homepage
Closes Homebrew/homebrew#18077.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-25 09:07:05 -08:00

27 lines
813 B
Ruby

require 'formula'
class Blitz < Formula
homepage 'http://blitz.sourceforge.net'
url 'http://sourceforge.net/projects/blitz/files/blitz/Blitz%2B%2B%200.10/blitz-0.10.tar.gz'
sha1 '7e157ec22ed2d261e896b7de4e8e8d3bf7d780e2'
head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
if build.head?
depends_on :automake
depends_on :libtool
end
def install
system "autoreconf", "-fi" if build.head?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--infodir=#{info}",
"--enable-shared",
"--disable-doxygen",
"--disable-dot",
"--prefix=#{prefix}"
system "make install"
end
end