binwalk.rb

Closes Homebrew/homebrew#9460.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
BEN ENGLISCH 2012-01-06 15:14:46 -06:00 committed by Mike McQuaid
parent 163fc6f530
commit 7f1f95e657

18
Formula/binwalk.rb Normal file
View file

@ -0,0 +1,18 @@
require 'formula'
class Binwalk < Formula
url 'http://binwalk.googlecode.com/files/binwalk-0.4.1.tar.gz'
homepage 'http://code.google.com/p/binwalk/'
md5 '95e04f44b4664ba2a7cbe370e1439530'
depends_on 'libmagic'
def install
Dir.chdir "src"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end