pngcrush 1.7.12

This commit is contained in:
Adam Vandenberg 2010-08-07 17:31:10 -07:00
parent 46e1949387
commit 6e8d9364ee

View file

@ -2,13 +2,13 @@ require 'formula'
class Pngcrush <Formula
homepage 'http://pmt.sourceforge.net/pngcrush/'
url "http://downloads.sourceforge.net/sourceforge/pmt/pngcrush-1.7.7.tar.bz2"
md5 '0ac097be4c7eb28504f8a583ee92b103'
url 'http://downloads.sourceforge.net/project/pmt/pngcrush/00-1.7.12/pngcrush-1.7.12.tar.bz2'
md5 '16d2eab491a13c1bc32d763e3d21e85b'
def install
# use our CFLAGS, LDFLAGS, CC, and LD
inreplace 'Makefile' do |contents|
contents.remove_make_var! %w[CFLAGS LDFLAGS CC LD]
inreplace 'Makefile' do |s|
s.remove_make_var! %w[CFLAGS LDFLAGS CC LD]
end
system "make"