2010-01-31 23:52:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Md5deep < Formula
|
2010-01-31 23:52:07 +00:00
|
|
|
homepage 'http://md5deep.sourceforge.net/'
|
2012-06-18 19:44:07 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/md5deep/md5deep/md5deep-4.2/md5deep-4.2.tar.gz'
|
|
|
|
sha1 '9176081bfdfcd67e2e5261ed431d00ef5b7d9c17'
|
2010-01-31 23:52:07 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2012-06-18 19:52:53 +00:00
|
|
|
|
|
|
|
def test
|
|
|
|
system("#{bin}/md5deep -h") && system("#{bin}/hashdeep -h")
|
|
|
|
end
|
|
|
|
end
|