blob: b2226bce685cf90434af79fe57cfcc07387a9bcb (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 | require 'formula'
class Blitz < Formula
  homepage 'http://blitz.sourceforge.net'
  url 'https://downloads.sourceforge.net/project/blitz/blitz/Blitz++%200.10/blitz-0.10.tar.gz'
  sha1 '7e157ec22ed2d261e896b7de4e8e8d3bf7d780e2'
  head do
    url 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  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
 |