From fa075b5f39004875b7b241d4d5baade650acc429 Mon Sep 17 00:00:00 2001 From: Andrei Polushin Date: Fri, 27 Mar 2015 15:12:40 +0600 Subject: 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 --- Library/Formula/pngcheck.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3