homebrew-core/Formula/blitz.rb

28 lines
823 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Blitz < Formula
homepage 'http://oonumerics.org/blitz'
url 'http://downloads.sourceforge.net/project/blitz/blitz/Blitz%2B%2B%200.9/blitz-0.9.tar.gz'
2012-07-07 18:08:22 +00:00
sha1 '055a4bcb47903e5c2446884d2df1494ac3e24034'
head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
2012-07-07 18:08:22 +00:00
if ARGV.build_head?
depends_on :automake
depends_on :libtool
end
def install
system "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