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.5.0.tar.gz'
sha1 'e7ffb447f932fb33b5c7c9b4ca8f8ddbead7f6db'
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