homebrew-core/Formula/bulk_extractor.rb
Mark A. Matienzo fab13327d6 bulk_extractor 1.1.0-alpha2
Closes Homebrew/homebrew#8041.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-10 13:31:22 -07:00

30 lines
855 B
Ruby

require 'formula'
class BulkExtractor < Formula
url 'http://afflib.org/downloads/bulk_extractor-1.1.0_alpha2.tar.gz'
version '1.1.0-alpha2'
homepage 'http://afflib.org/software/bulk_extractor'
md5 '7a273d10b935915194fb70f72e8ae114'
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