New formula: cflow

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Tianyi Cui 2010-10-04 20:46:34 +08:00 committed by Adam Vandenberg
parent 9acffbdb57
commit eeb8227fa2

14
Formula/cflow.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class Cflow <Formula
url 'http://ftp.gnu.org/gnu/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