binwalk 1.2.2-1

Closes Homebrew/homebrew#23750.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Brock Batsell 2013-10-29 17:15:26 -05:00 committed by Adam Vandenberg
parent 76e073eda1
commit 74f0d387f6
1 changed files with 11 additions and 6 deletions

View File

@ -2,16 +2,21 @@ require 'formula'
class Binwalk < Formula
homepage 'http://code.google.com/p/binwalk/'
url 'http://binwalk.googlecode.com/files/binwalk-0.5.0.tar.gz'
sha1 'e7ffb447f932fb33b5c7c9b4ca8f8ddbead7f6db'
url 'https://binwalk.googlecode.com/files/binwalk-1.2.2-1.tar.gz'
sha1 '3422427a326f58a5b04616111ee66a8c2fddec1d'
depends_on 'libmagic'
depends_on 'libmagic' => 'with-python'
option 'with-matplotlib', 'Check for presence of matplotlib, which is required for entropy graphing support'
if build.with? 'matplotlib'
depends_on :python => 'matplotlib'
else
depends_on :python
end
def install
cd "src" do
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
system python, "setup.py", "install", "--no-prereq-checks", "--prefix=#{prefix}"
end
end
end