aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cflow.rb
blob: f0fbcd8e8ac63a4fc4c6d277a2d050c62f7a74c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'formula'

class Cflow < Formula
  url 'http://ftpmirror.gnu.org/cflow/cflow-1.3.tar.bz2'
  homepage 'http://www.gnu.org/software/cflow/'
  md5 'b3fe4bfba9d648447065b3c2d73ae66c'

  def install
    ENV.append "CFLAGS", " -fno-common"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}", "--infodir=#{info}"
    system "make install"
  end
end