New formula: cflow

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Tianyi Cui 2010-10-04 20:46:34 +08:00 committed by Adam Vandenberg
parent 9acffbdb57
commit eeb8227fa2
1 changed files with 14 additions and 0 deletions

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