bb7402999e
This version add support for progressive jpeg Closes Homebrew/homebrew#19537. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
454 B
Ruby
16 lines
454 B
Ruby
require 'formula'
|
|
|
|
class Jpegoptim < Formula
|
|
homepage 'http://www.kokkonen.net/tjko/projects.html'
|
|
url 'http://www.kokkonen.net/tjko/src/jpegoptim-1.3.0.tar.gz'
|
|
sha1 '5cf5945cbb2245fb7a2c7217947e43bcbd943b7d'
|
|
|
|
depends_on 'jpeg'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
ENV.j1 # Install is not parallel-safe
|
|
system "make install"
|
|
end
|
|
end
|