optipng 0.7
Closes Homebrew/homebrew#11067. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
65eca5a84d
commit
7064b2d308
1 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue