diff options
| author | Stian Eikeland | 2014-10-25 14:04:07 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-26 11:28:02 +0000 |
| commit | be71abcf92373b0961c00006caa3782882b93fcb (patch) | |
| tree | 7d6f518831b9bb2d64cdd996e84b982694e1c483 /Library/Formula | |
| parent | f30902bb17aa7af7ffb69a6a0620f22261dd512d (diff) | |
| download | homebrew-be71abcf92373b0961c00006caa3782882b93fcb.tar.bz2 | |
pngcrush 1.7.78
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pngcrush.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb index 6e2ec3f39..e238e7382 100644 --- a/Library/Formula/pngcrush.rb +++ b/Library/Formula/pngcrush.rb @@ -4,8 +4,8 @@ require "formula" # tarballs are routinely removed and upstream won't change this practice. class Pngcrush < Formula homepage "http://pmt.sourceforge.net/pngcrush/" - url "https://downloads.sourceforge.net/project/pmt/pngcrush/1.7.77/pngcrush-1.7.77.tar.gz" - sha1 "70e15781220a0095453d04b040c6f42d77487d7b" + url "https://downloads.sourceforge.net/project/pmt/pngcrush/1.7.78/pngcrush-1.7.78.tar.gz" + sha1 "9506a4106ecf1f960e8fe2c2a7e34131c234e070" bottle do cellar :any @@ -26,4 +26,8 @@ class Pngcrush < Formula "LDFLAGS=#{ENV.ldflags}" bin.install "pngcrush" end + + test do + system "#{bin}/pngcrush", test_fixtures("test.png"), "/dev/null" + end end |
