2010-07-07 07:17:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jpegoptim < Formula
|
2011-05-28 06:21:51 +00:00
|
|
|
url 'http://www.kokkonen.net/tjko/src/jpegoptim-1.2.4.tar.gz'
|
2010-07-07 07:17:46 +00:00
|
|
|
homepage 'http://www.kokkonen.net/tjko/projects.html'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '262774406d97653cc43bf2d19d91a85133f81f79'
|
2010-07-07 07:17:46 +00:00
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
|
|
|
def install
|
2011-05-07 19:48:16 +00:00
|
|
|
ENV.j1 # Install is not parallel-safe
|
2010-07-07 07:17:46 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|