2010-07-07 07:17:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jpegoptim < Formula
|
2010-07-07 07:17:46 +00:00
|
|
|
homepage 'http://www.kokkonen.net/tjko/projects.html'
|
2013-04-30 14:33:58 +00:00
|
|
|
url 'http://www.kokkonen.net/tjko/src/jpegoptim-1.3.0.tar.gz'
|
|
|
|
sha1 '5cf5945cbb2245fb7a2c7217947e43bcbd943b7d'
|
2013-09-08 00:05:33 +00:00
|
|
|
head 'https://github.com/tjko/jpegoptim.git'
|
2010-07-07 07:17:46 +00:00
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
|
|
|
def install
|
2013-01-28 04:58:29 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2011-05-07 19:48:16 +00:00
|
|
|
ENV.j1 # Install is not parallel-safe
|
2010-07-07 07:17:46 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|