aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAndrew J. Erickson2010-07-27 03:27:48 -0700
committerAdam Vandenberg2010-07-27 11:24:22 -0700
commitfa9878f8c8fc0ca878be99aff046861203d5384c (patch)
tree8a14275c1aefcd54817342559ae0ed96cf723c27 /Library
parentd0b92d3f97b7a3defcd94e334dc9d75077797b33 (diff)
downloadhomebrew-fa9878f8c8fc0ca878be99aff046861203d5384c.tar.bz2
adding a formula for duff
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/duff.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/duff.rb b/Library/Formula/duff.rb
new file mode 100644
index 000000000..6b7e1e489
--- /dev/null
+++ b/Library/Formula/duff.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Duff <Formula
+ url 'http://prdownloads.sourceforge.net/duff/duff-0.4.tar.bz2'
+ homepage 'http://duff.sourceforge.net/'
+ md5 '9767e471232c1b4ee553ae40dbe60464'
+
+ def install
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--mandir=#{man}",
+ "--prefix=#{prefix}"
+ # this needs to be executable, but isn't for some reason...
+ system "chmod 755 ./install-sh"
+ system "make install"
+ end
+end