homebrew-core/Formula/blitz.rb
Rike-Benjamin Schuppner cc6d3f41ab blitz++: Add mercurial HEAD
Closes Homebrew/homebrew#10076.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-09 19:46:53 -06:00

20 lines
718 B
Ruby

require 'formula'
class Blitz < Formula
url 'http://downloads.sourceforge.net/project/blitz/blitz/Blitz%2B%2B%200.9/blitz-0.9.tar.gz'
homepage 'http://oonumerics.org/blitz'
md5 '031df2816c73e2d3bd6d667bbac19eca'
head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
def install
system "/usr/bin/autoreconf", "-fi" if ARGV.build_head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--infodir=#{info}",
"--enable-shared",
"--disable-doxygen",
"--disable-dot",
"--prefix=#{prefix}"
system "make install"
end
end