2010-01-04 05:00:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Optipng < Formula
|
2010-01-04 05:00:47 +00:00
|
|
|
homepage 'http://optipng.sourceforge.net/'
|
2012-09-24 14:38:51 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.3/optipng-0.7.3.tar.gz'
|
|
|
|
sha1 'c5dd2c688820f34fb6973d109ca880a77141cd31'
|
2010-01-04 05:00:47 +00:00
|
|
|
|
|
|
|
def install
|
2012-03-22 03:23:47 +00:00
|
|
|
system "./configure", "--with-system-zlib",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-01-04 05:00:47 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|