fa3d89a7c0
It seems that the main GNU download site has issues in some places outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick a nearby mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
14 lines
424 B
Ruby
14 lines
424 B
Ruby
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
|