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/'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/md5deep/md5deep/md5deep-4.3/md5deep-4.3.tar.gz'
|
2012-11-16 22:15:06 +00:00
|
|
|
sha1 'b9dd6444f07c9fc344ebef201baebdf71bda337f'
|
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
|
2012-06-18 21:59:16 +00:00
|
|
|
end
|