diff options
| author | Baptiste Fontaine | 2014-12-31 18:20:19 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-31 19:41:47 +0000 |
| commit | e35a5ca8909099dbac98bd0226cf7a61f3b81415 (patch) | |
| tree | 65e12839a7b83b32100cc1e2ae959228bb9cca58 /Library | |
| parent | b178a61b366eda971432868bbb469673c75adb43 (diff) | |
| download | homebrew-e35a5ca8909099dbac98bd0226cf7a61f3b81415.tar.bz2 | |
zzuf: modernize + test added
Closes #35401.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/zzuf.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/zzuf.rb b/Library/Formula/zzuf.rb index e46b6c0db..bf25f3ca4 100644 --- a/Library/Formula/zzuf.rb +++ b/Library/Formula/zzuf.rb @@ -1,11 +1,9 @@ -require 'formula' - class Zzuf < Formula - homepage 'http://caca.zoy.org/wiki/zzuf' - url 'http://caca.zoy.org/files/zzuf/zzuf-0.13.tar.gz' - sha1 '19f904d63d045194885639c381a607ca86a319b5' + homepage "http://caca.zoy.org/wiki/zzuf" + url "http://caca.zoy.org/files/zzuf/zzuf-0.13.tar.gz" + sha1 "19f904d63d045194885639c381a607ca86a319b5" - conflicts_with 'libzzip', :because => 'both install `zzcat` binaries' + conflicts_with "libzzip", :because => "both install `zzcat` binaries" # Fix OS X-specific bug in zzuf 0.13; see https://trac.macports.org/ticket/29157 # This has been fixed upstream and should be included in the next release. @@ -17,6 +15,10 @@ class Zzuf < Formula def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/zzuf", "hd", "-vn", "32", "/dev/zero" end end |
