fab13327d6
Closes Homebrew/homebrew#8041. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
30 lines
855 B
Ruby
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
|