adding a formula for duff

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Andrew J. Erickson 2010-07-27 03:27:48 -07:00 committed by Adam Vandenberg
parent 7fc8099776
commit 4373b73750
1 changed files with 17 additions and 0 deletions

17
Formula/duff.rb Normal file
View File

@ -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