homebrew-core/Formula/binwalk.rb

18 lines
376 B
Ruby
Raw Normal View History

require 'formula'
class Binwalk < Formula
homepage 'http://code.google.com/p/binwalk/'
url 'http://binwalk.googlecode.com/files/binwalk-0.4.5.tar.gz'
sha1 'cdc7918cada78b8d84c61a38d9c50a21704adfba'
depends_on 'libmagic'
def install
2012-02-21 06:07:32 +00:00
cd "src" do
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end
end