aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAustin Ziegler2009-09-27 23:43:50 -0400
committerMax Howell2009-09-30 18:52:13 +0100
commita2a1ee098193f54476cdc95b27dccb7ff970140b (patch)
tree2942680f5acf4c5b504f8e0c178b94fffabc3753 /Library
parent91a95b48d6b6971f03c482f76754c1336b5233dc (diff)
downloadhomebrew-a2a1ee098193f54476cdc95b27dccb7ff970140b.tar.bz2
Updated pngcrush to 1.7.2; fixed penryn build.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pngcrush.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb
index ef760836f..7bff4266b 100644
--- a/Library/Formula/pngcrush.rb
+++ b/Library/Formula/pngcrush.rb
@@ -1,14 +1,16 @@
require 'brewkit'
class Pngcrush <Formula
- @homepage='http://pmt.sourceforge.net/pngcrush/'
- @url='http://downloads.sourceforge.net/sourceforge/pmt/pngcrush-1.7.0.tar.bz2'
- @md5='033f1542ef452952b1ba585cf21be70b'
+ homepage 'http://pmt.sourceforge.net/pngcrush/'
+ url "http://downloads.sourceforge.net/sourceforge/pmt/pngcrush-1.7.2.tar.bz2"
+ md5 '24ead6781e7e017e8ee2bf61db93a355'
def install
- # use our CFLAGS and LDFLAGS thanks :P
+ # use our CFLAGS, LDFLAGS, CC, and LD
inreplace 'Makefile', 'CFLAGS = -I. -O3 -fomit-frame-pointer -Wall -Wshadow', ''
inreplace 'Makefile', 'LDFLAGS =', ''
+ inreplace 'Makefile', 'CC = gcc', ''
+ inreplace 'Makefile', 'LD = gcc', ''
system "make"
bin.install 'pngcrush'