homebrew-core/Formula/bulk_extractor.rb
Mark A. Matienzo 312bdd7e38 bulk_extractor 1.2.0
Closes Homebrew/homebrew#10277.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-17 13:51:07 -06:00

29 lines
823 B
Ruby

require 'formula'
class BulkExtractor < Formula
homepage 'http://afflib.org/software/bulk_extractor'
url 'http://afflib.org/downloads/bulk_extractor-1.2.0.tar.gz'
md5 '95172e2a149681054b712890e8fdad57'
depends_on 'afflib' => :optional
depends_on 'exiv2' => :optional
depends_on 'libewf' => :optional
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
# Install documentation
(share+name+'doc').install Dir['doc/*.{html,txt,pdf}']
# Install Python utilities
(share+name+'python').install Dir['python/*.py']
end
def caveats; <<-EOS.undent
You may need to add the directory containing the Python bindings to your PYTHONPATH:
#{share+name}/python
EOS
end
end