aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBEN ENGLISCH2012-01-06 15:14:46 -0600
committerMike McQuaid2012-01-07 21:34:43 +0000
commite9c6e5b64e3f3e6469172ce7f3fddc1eba259802 (patch)
tree65da2db712171e4f48bc67627ba185110a8a83fa /Library
parent5ae70d5e0f5eea77f69c560d4dd2c899af10b7ec (diff)
downloadhomebrew-e9c6e5b64e3f3e6469172ce7f3fddc1eba259802.tar.bz2
binwalk.rb
Closes #9460. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/binwalk.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/binwalk.rb b/Library/Formula/binwalk.rb
new file mode 100644
index 000000000..6eadc1092
--- /dev/null
+++ b/Library/Formula/binwalk.rb
@@ -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