OptiPNG 0.6.3
OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. http://optipng.sourceforge.net/master
parent
0deb232437
commit
cba64319aa
|
@ -0,0 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class Optipng <Formula
|
||||
url 'http://downloads.sourceforge.net/optipng/optipng-0.6.3.tar.gz'
|
||||
homepage 'http://optipng.sourceforge.net/'
|
||||
md5 '6cef405197a878acff4c6216cf38e871'
|
||||
|
||||
def install
|
||||
inreplace 'src/scripts/gcc.mak.in', '/usr/local', prefix
|
||||
inreplace 'src/scripts/gcc.mak.in', 'mandir=$(prefix)/man', 'mandir=$(prefix)/share/man'
|
||||
system "./configure", "-with-system-zlib"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue