aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAndrei Polushin2015-03-27 15:12:40 +0600
committerXu Cheng2015-04-10 17:47:52 +0800
commitfa075b5f39004875b7b241d4d5baade650acc429 (patch)
tree1e881c553430b567009b63c247a24eaf77f42940 /Library
parentf4c88295a8afb9722dbe9efe137b04eed9467b2b (diff)
downloadhomebrew-fa075b5f39004875b7b241d4d5baade650acc429.tar.bz2
build pngcheck utilities using the provided Makefile.
Previous formula used `make` command to compile without Makefile, as described at http://stackoverflow.com/q/15745241 Closes #38114. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pngcheck.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/pngcheck.rb b/Library/Formula/pngcheck.rb
index 6fe933f55..8835d668e 100644
--- a/Library/Formula/pngcheck.rb
+++ b/Library/Formula/pngcheck.rb
@@ -4,9 +4,10 @@ class Pngcheck < Formula
homepage 'http://www.libpng.org/pub/png/apps/pngcheck.html'
url 'https://downloads.sourceforge.net/project/png-mng/pngcheck/2.3.0/pngcheck-2.3.0.tar.gz'
sha1 'e7f1535abbf2f809e036a9a43c759eeac5e39350'
+ revision 1
def install
- system 'make pngcheck'
- bin.install 'pngcheck'
+ system 'make -f Makefile.unx ZINC= ZLIB=-lz'
+ bin.install %w[pngcheck pngsplit png-fix-IDAT-windowsize]
end
end