homebrew-core/Formula/optipng.rb

16 lines
494 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Optipng < Formula
homepage 'http://optipng.sourceforge.net/'
head 'http://optipng.hg.sourceforge.net/hgweb/optipng/optipng'
url 'http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.4/optipng-0.7.4.tar.gz'
sha1 'dcde17501cfb7a425b6cc23cfed482bbfd4867bb'
def install
2012-03-22 03:23:47 +00:00
system "./configure", "--with-system-zlib",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end