Permalink
Browse files

optipng 0.7

Closes #11067.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent bd76ab9 commit 861a71ebd58eb5169ee9ddb51514f9b35f61b77c @aristidesfl aristidesfl committed with adamv Mar 19, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 Library/Formula/optipng.rb
View
@@ -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

0 comments on commit 861a71e

Please sign in to comment.