aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianyi Cui2010-10-04 20:46:34 +0800
committerAdam Vandenberg2010-10-05 17:30:34 -0700
commit97186aea85b7c5db13fb858954bb8253968bb7ad (patch)
treeee057f5056f5df40d6b0c289a51f60ed16dd65eb
parentb3d07ab721628f10aa4db5312b454c783d1d4b19 (diff)
downloadhomebrew-97186aea85b7c5db13fb858954bb8253968bb7ad.tar.bz2
New formula: cflow
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/cflow.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/cflow.rb b/Library/Formula/cflow.rb
new file mode 100644
index 000000000..980446e5e
--- /dev/null
+++ b/Library/Formula/cflow.rb
@@ -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