diff options
| author | Alistair McMillan | 2015-04-19 02:07:56 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-20 18:51:28 +0100 | 
| commit | 9ec112c5ddb2d97e1787809190d2fe847b5d1d4e (patch) | |
| tree | 83ed9443482c34e6ffaaa4df8bd298a8887a43d1 /Library/Formula | |
| parent | 1cddce1cdd765a69303a92066cd20146000a4c25 (diff) | |
| download | homebrew-9ec112c5ddb2d97e1787809190d2fe847b5d1d4e.tar.bz2 | |
testdisk 7.0
Closes #38802.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/testdisk.rb | 20 | 
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/testdisk.rb b/Library/Formula/testdisk.rb index 2dc96b924..d1aa59db8 100644 --- a/Library/Formula/testdisk.rb +++ b/Library/Formula/testdisk.rb @@ -1,13 +1,19 @@ -require 'formula' -  class Testdisk < Formula -  homepage 'http://www.cgsecurity.org/wiki/TestDisk' -  url 'http://www.cgsecurity.org/testdisk-6.14.tar.bz2' -  sha1 'a2359406db5e3e3f9db81d8e8fce2a125dcc3677' +  homepage "http://www.cgsecurity.org/wiki/TestDisk" +  url "http://www.cgsecurity.org/testdisk-7.0.tar.bz2" +  sha256 "00bb3b6b22e6aba88580eeb887037aef026968c21a87b5f906c6652cbee3442d"    def install -    system "./configure", "--disable-dependency-tracking", +    system "./configure", "--disable-debug", +                          "--disable-dependency-tracking", +                          "--disable-silent-rules",                            "--prefix=#{prefix}" -    system "make install" +    system "make", "install" +  end + +  test do +    path = "test.dmg" +    system "hdiutil", "create", "-megabytes", "10", path +    system "#{bin}/testdisk", "/list", path    end  end  | 
