binwalk.rb
Closes Homebrew/homebrew#9460. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
163fc6f530
commit
7f1f95e657
1 changed files with 18 additions and 0 deletions
18
Formula/binwalk.rb
Normal file
18
Formula/binwalk.rb
Normal 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
|
Loading…
Reference in a new issue