2010-10-29 14:28:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Fdupes < Formula
|
2011-07-01 13:21:56 +00:00
|
|
|
url 'http://fdupes.googlecode.com/files/fdupes-1.40.tar.gz'
|
|
|
|
homepage 'http://code.google.com/p/fdupes/'
|
2010-10-29 14:28:29 +00:00
|
|
|
md5 '11de9ab4466089b6acbb62816b30b189'
|
|
|
|
|
|
|
|
def install
|
|
|
|
inreplace "Makefile", "gcc", "#{ENV.cc} #{ENV.cflags}"
|
|
|
|
system "make fdupes"
|
|
|
|
bin.install "fdupes"
|
|
|
|
man1.install "fdupes.1"
|
|
|
|
end
|
|
|
|
end
|