aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-09-23 11:34:01 -0700
committerMisty De Meo2014-09-23 11:42:39 -0700
commitb3a319fc440737e55d044ec61cc5bb9e258a1595 (patch)
treefd0eb18d5cd7e88451ffc9619b84aff648e82810 /Library
parenta63cd807846dc65b80ee16b00235b44fca1311b6 (diff)
downloadhomebrew-b3a319fc440737e55d044ec61cc5bb9e258a1595.tar.bz2
bulk_extractor 1.5.5
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bulk_extractor.rb30
1 files changed, 13 insertions, 17 deletions
diff --git a/Library/Formula/bulk_extractor.rb b/Library/Formula/bulk_extractor.rb
index 81bce0619..ff1e845bd 100644
--- a/Library/Formula/bulk_extractor.rb
+++ b/Library/Formula/bulk_extractor.rb
@@ -1,20 +1,14 @@
require 'formula'
class BulkExtractor < Formula
- homepage 'https://github.com/simsong/bulk_extractor/wiki'
- url 'http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.4.4.tar.gz'
- sha1 'e95ed6db74d9998842089b53eb4322dd0a730a82'
-
- depends_on 'afflib' => :optional
- depends_on 'exiv2' => :optional
- depends_on 'libewf' => :optional
-
- # Error in exec install hooks; installing java GUI manually. Reported in
- # https://groups.google.com/group/bulk_extractor-users/browse_thread/thread/ff7cc11e8e6d8e8d
- patch do
- url "https://gist.githubusercontent.com/anarchivist/3785687/raw/3a61d57539c2b9ecde44121b370db85ff9d4f86e/makefile.in.patch"
- sha1 "0b597214c15505d84602a28b74fc01ce5aa0c902"
- end
+ homepage "https://github.com/simsong/bulk_extractor/wiki"
+ url "http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.5.5.tar.gz"
+ sha1 "59cab1d96089043ad4a74483bd09179262b136ab"
+
+ depends_on "afflib" => :optional
+ depends_on "boost"
+ depends_on "exiv2" => :optional
+ depends_on "libewf" => :optional
def install
system "./configure", "--disable-dependency-tracking",
@@ -23,12 +17,14 @@ class BulkExtractor < Formula
system "make install"
# Install documentation
- (share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}']
+ (share/"bulk_extractor/doc").install Dir["doc/*.{html,txt,pdf}"]
- (lib/'python2.7/site-packages').install Dir['python/*.py']
+ (lib/"python2.7/site-packages").install Dir["python/*.py"]
# Install the GUI the Homebrew way
- libexec.install 'java_gui/BEViewer.jar'
+ # .jar gets installed into bin by default
+ libexec.install bin/"BEViewer.jar"
+ (bin/"BEViewer").unlink
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
end