aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMark A. Matienzo2013-09-10 20:50:22 -0400
committerAdam Vandenberg2013-09-10 19:50:28 -0700
commitc78be0bf5e6533e444181932fee608200c53888e (patch)
treeabb16238f8eb81670b84c58d7f2bd9037575caf9 /Library/Formula
parentd98ec431922c0eaeef41b70632965dc6e90b6751 (diff)
downloadhomebrew-c78be0bf5e6533e444181932fee608200c53888e.tar.bz2
bulk_extractor: update to 1.4 and change python-specific steps
Closes #22454. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bulk_extractor.rb19
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/bulk_extractor.rb b/Library/Formula/bulk_extractor.rb
index 64a031729..801eec95e 100644
--- a/Library/Formula/bulk_extractor.rb
+++ b/Library/Formula/bulk_extractor.rb
@@ -2,8 +2,8 @@ require 'formula'
class BulkExtractor < Formula
homepage 'https://github.com/simsong/bulk_extractor/wiki'
- url 'https://github.com/downloads/simsong/bulk_extractor/bulk_extractor-1.3.1.tar.gz'
- sha1 'b4d68b0d08c1630b103875ec4c6524f46ad4a8ae'
+ url 'http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.4.0.tar.gz'
+ sha1 '177232620c36fe9b5a3998666b5fba89580d3d85'
depends_on :autoconf
depends_on :automake
@@ -20,15 +20,16 @@ class BulkExtractor < Formula
end
def install
- python do
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- system "make"
- system "make install"
- # Install documentation
- (share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}']
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+
+ # Install documentation
+ (share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}']
+ python do
(lib/python.xy/"site-packages").install Dir['python/*.py']
end