aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/binwalk.rb
blob: 6eadc1092c2e9235a26a960b634cbd92b33e95d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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