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'
|
2011-05-28 06:21:51 +00:00
|
|
|
md5 '40e8e627181f524ad29717c5b07cd442'
|
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
|