aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/binwalk.rb
blob: bfdc166a9be579f9a5d4006f1c12810896c35bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
    cd "src" do
      system "./configure", "--prefix=#{prefix}"
      system "make"
      system "make install"
    end
  end
end