bulk_extractor: cleanup python usage.

This commit is contained in:
Mike McQuaid committed 2014-01-04 13:19:20 +00:00
1 parent c50323548d
commit eb562f4999
1 file changed
+1 -9
+1 -9
View File
@@ -7,7 +7,6 @@ class BulkExtractor < Formula
depends_on :autoconf
depends_on :automake
depends_on :python
depends_on 'afflib' => :optional
depends_on 'exiv2' => :optional
@@ -20,7 +19,6 @@ class BulkExtractor < Formula
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
@@ -29,16 +27,10 @@ class BulkExtractor < Formula
# Install documentation
(share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}']
python do
(lib/python.xy/"site-packages").install Dir['python/*.py']
end
(lib/'python2.7/site-packages').install Dir['python/*.py']
# Install the GUI the Homebrew way
libexec.install 'java_gui/BEViewer.jar'
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
end
def caveats
python.standard_caveats if python
end
end