homebrew-core/Formula/sleuthkit.rb
Mark A. Matienzo 5ec5fe8060 sleuthkit 4.0.1
Closes Homebrew/homebrew#16111.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-16 14:32:12 -08:00

26 lines
688 B
Ruby

require 'formula'
class Sleuthkit < Formula
homepage 'http://www.sleuthkit.org/'
url 'http://downloads.sourceforge.net/project/sleuthkit/sleuthkit/4.0.1/sleuthkit-4.0.1.tar.gz'
sha1 '5364ffe9c6354e9f9461972ebd906fff8175db3a'
head 'https://github.com/sleuthkit/sleuthkit.git'
if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
depends_on 'afflib' => :optional
depends_on 'libewf' => :optional
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end