require 'formula' class BulkExtractor < Formula url 'http://afflib.org/downloads/bulk_extractor-0.7.18.tar.gz' homepage 'http://afflib.org/software/bulk_extractor' md5 '680ee243ca04d23b1059e972c53d59ce' 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" end end