diff options
| author | David Holm | 2014-08-04 12:25:42 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-04 12:51:04 +0100 |
| commit | 9afb0544580b79d16f5abcfb3f99b950faa8da97 (patch) | |
| tree | 56505bd49fb35fb6555d67e47a91c3b171d23d08 /Library | |
| parent | 2cc7a5ae0d05c4a801ec5d5fc014bfbd5248e01a (diff) | |
| download | homebrew-9afb0544580b79d16f5abcfb3f99b950faa8da97.tar.bz2 | |
binwalk 2.0.1
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/binwalk.rb | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/Library/Formula/binwalk.rb b/Library/Formula/binwalk.rb index 569590189..e5818e985 100644 --- a/Library/Formula/binwalk.rb +++ b/Library/Formula/binwalk.rb @@ -3,14 +3,8 @@ require 'formula' class Binwalk < Formula homepage 'http://binwalk.org/' stable do - url 'https://github.com/devttys0/binwalk/archive/v1.3.0.tar.gz' - sha1 '6cab158b69e508081302305b354da12f45658272' - - # Fix install locations; submitted upstream as various PRs - patch do - url "https://gist.github.com/balr0g/e3a5c97151b6c03619b3/raw/2a67afc3613b435ef785b18ff1ed44b676576dbf/binwalk-1.3.0-setup.patch" - sha1 "893e6b7d9df93ace304e07ac7897498108870fc6" - end + url "https://github.com/devttys0/binwalk/archive/v2.0.1.tar.gz" + sha1 "b0ec783cbf72db358c5118a3052fc1ccf446d8f3" end head do @@ -42,13 +36,13 @@ class Binwalk < Formula end resource 'numpy' do - url 'http://downloads.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz' - sha1 'a2c02c5fb2ab8cf630982cddc6821e74f5769974' + url "http://downloads.sourceforge.net/project/numpy/NumPy/1.8.1/numpy-1.8.1.tar.gz" + sha1 "8fe1d5f36bab3f1669520b4c7d8ab59a21a984da" end resource 'scipy' do - url 'http://downloads.sourceforge.net/project/scipy/scipy/0.13.3/scipy-0.13.3.tar.gz' - sha1 '2c7d53fc1d7bfe0a3ab5818ef6d84cb5d8cfcca4' + url "http://downloads.sourceforge.net/project/scipy/scipy/0.14.0/scipy-0.14.0.tar.gz" + sha1 "faf16ddf307eb45ead62a92ffadc5288a710feb8" end def install @@ -62,17 +56,9 @@ class Binwalk < Formula pyqtgraph_args = [ "setup.py", "install", "--prefix=#{libexec}" ] resource('pyqtgraph').stage { system "python", *pyqtgraph_args } - if build.head? - system "autoreconf -f" - system "./configure", "--prefix=#{prefix}" - system "make install" - else - cd "src" do - binwalk_args = [ "install", "--prefix=#{prefix}", "--yes" ] - system "python", "setup.py", *binwalk_args - bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) - end - end + system "autoreconf -f" if build.head? + system "./configure", "--prefix=#{prefix}", "--disable-bundles" + system "make install" end test do |
