homebrew-core/Formula/fdupes.rb
2012-09-03 11:36:42 -07:00

14 lines
362 B
Ruby

require 'formula'
class Fdupes < Formula
url 'http://fdupes.googlecode.com/files/fdupes-1.40.tar.gz'
homepage 'http://code.google.com/p/fdupes/'
sha1 'e1bce9bdf50d7bf700dda3eb8a3d218b181b3931'
def install
inreplace "Makefile", "gcc", "#{ENV.cc} #{ENV.cflags}"
system "make fdupes"
bin.install "fdupes"
man1.install "fdupes.1"
end
end