2010-09-20 20:04:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sleuthkit < Formula
|
2010-10-29 01:47:30 +00:00
|
|
|
head 'http://svn.sleuthkit.org/repos/sleuthkit/trunk', :using => :svn
|
2011-06-14 21:18:38 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/3.2.2/sleuthkit-3.2.2.tar.gz'
|
2010-09-20 20:04:35 +00:00
|
|
|
homepage 'http://www.sleuthkit.org/'
|
2011-06-14 21:18:38 +00:00
|
|
|
md5 'bc6244a086e4e35215b8e1a776f63c5c'
|
2010-09-20 20:04:35 +00:00
|
|
|
|
|
|
|
depends_on 'afflib' => :optional
|
|
|
|
depends_on 'libewf' => :optional
|
|
|
|
|
|
|
|
def install
|
2010-12-18 14:20:18 +00:00
|
|
|
if ARGV.build_head?
|
2010-10-29 01:47:30 +00:00
|
|
|
system "glibtoolize"
|
|
|
|
system "aclocal"
|
|
|
|
system "automake", "--add-missing", "--copy"
|
|
|
|
system "autoconf"
|
|
|
|
end
|
2010-09-20 20:04:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|