0e0d2ad059
The source code packages have been moved from Sourceforge to Github, which is reflected here. The way of building of the source code has also changed, which should be executed successfully here. Please note that because of the way the source code build has been modified between 4.3 & 4.4 there are new dependencies involved in the build. SHA1SUM updated as well. Closes Homebrew/homebrew#30133. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
21 lines
487 B
Ruby
21 lines
487 B
Ruby
require 'formula'
|
|
|
|
class Md5deep < Formula
|
|
homepage 'https://github.com/jessek/hashdeep'
|
|
url 'https://github.com/jessek/hashdeep/archive/release-4.4.tar.gz'
|
|
sha1 'cb4e313352974299c32bc55fe56396adb74517ef'
|
|
|
|
depends_on 'autoconf' => :build
|
|
depends_on 'automake' => :build
|
|
|
|
def install
|
|
system "sh bootstrap.sh"
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
|
|
test do
|
|
system bin/"md5deep", "-h"
|
|
system bin/"hashdeep", "-h"
|
|
end
|
|
end
|