homebrew-core/Formula/pngnq.rb
Jonathan Wright 0deb232437 Pngnq 1.0
Pngnq quantizes 24-bit (RGB) and 32-bit (RGBA) PNG images down to 8-bit
(palette) PNG8 images.

http://pngnq.sourceforge.net/

See http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/ for
one motivation on using PNG8 images (IE6 support). Another motiviation
is that PNG8 images are smaller and do a good job of lossy compression
of screen shots.
2010-01-24 12:27:40 +00:00

12 lines
356 B
Ruby

require 'formula'
class Pngnq <Formula
url 'http://downloads.sourceforge.net/project/pngnq/pngnq/1.0/pngnq-1.0.tar.gz'
homepage 'http://pngnq.sourceforge.net/'
md5 '2d2cdacf0284477c662fee888c8092d5'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end