blob: c4ecbb353c3be3a65c7b9fe840c141da1c257fa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
require 'formula'
class Sleuthkit < Formula
homepage 'http://www.sleuthkit.org/'
url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/4.1.2/sleuthkit-4.1.2.tar.gz'
sha1 'e44af40a934abeb6ce577f9ba71c86f11b80a559'
head do
url 'https://github.com/sleuthkit/sleuthkit.git'
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
conflicts_with 'irods', :because => 'both install `ils`'
option 'with-jni', "Build Sleuthkit with JNI bindings"
depends_on :ant
depends_on 'afflib' => :optional
depends_on 'libewf' => :optional
conflicts_with 'ffind',
:because => "both install a 'ffind' executable."
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
if build.with? 'jni'
cd 'bindings/java' do
system 'ant'
end
prefix.install 'bindings'
end
end
end
|