mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 12:39:48 -05:00
bulk_extractor: cleanup python usage.
This commit is contained in:
1 parent
c50323548d
commit
eb562f4999
1 file changed
+1
-9
@@ -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
|
||||
Reference in new issue
Block a user