aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/optipng.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/optipng.rb b/Library/Formula/optipng.rb
index 6e44d6efa..2316f44b5 100644
--- a/Library/Formula/optipng.rb
+++ b/Library/Formula/optipng.rb
@@ -1,16 +1,12 @@
require 'formula'
class Optipng < Formula
- url 'http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.6.5/optipng-0.6.5.tar.gz'
+ url 'http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7/optipng-0.7.tar.gz'
homepage 'http://optipng.sourceforge.net/'
- md5 '9df5fa7bb45ae096ed6c6e0d8dc43dc7'
+ md5 '9b2f526ce79ea779c7004c7964ee8bcc'
def install
- inreplace 'src/scripts/unix.mak.in' do |s|
- s.change_make_var! 'mandir', man
- end
-
- system "./configure", "--with-system-zlib", "--prefix=#{prefix}"
+ system "./configure", "--with-system-zlib", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end