aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/blitz.rb
blob: 4d7bf5a63c8ca39dbbe182ca74a12b82befee11d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

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'
  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