homebrew-core/Formula/sleuthkit.rb

27 lines
688 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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'
2012-08-23 22:17:39 +00:00
if build.head?
2012-07-07 18:08:22 +00:00
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
depends_on 'afflib' => :optional
depends_on 'libewf' => :optional
def install
2012-08-23 22:17:39 +00:00
system "./bootstrap" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end