aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sleuthkit.rb
blob: 3433526d41a730a83964007a732e0d14457f36a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Sleuthkit <Formula
  head 'http://svn.sleuthkit.org/repos/sleuthkit/trunk', :using => :svn
  url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/3.2.0/sleuthkit-3.2.0.tar.gz'
  homepage 'http://www.sleuthkit.org/'
  md5 '05517963942aa92be77c05ca1c47f0de'

  depends_on 'afflib' => :optional
  depends_on 'libewf' => :optional

  def install
    if ARGV.build_head?
      system "glibtoolize"
      system "aclocal"
      system "automake", "--add-missing", "--copy"
      system "autoconf"
    end
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end