blob: 5047406fb4cbc2075312dc26c0bd4091a7b53c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|