homebrew-core/Formula/jpegoptim.rb

25 lines
731 B
Ruby
Raw Normal View History

2014-05-20 05:51:07 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Jpegoptim < Formula
2014-05-20 05:51:07 +00:00
homepage "https://github.com/tjko/jpegoptim"
url "https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.1.tar.gz"
sha1 "07561b8a06806c4a2172a62e3f5e45b961353b2d"
2014-05-20 05:51:07 +00:00
head "https://github.com/tjko/jpegoptim.git"
2014-06-10 08:25:18 +00:00
bottle do
cellar :any
sha1 "dca2904e50276aa6ef58dbd0ee6abb909c2c179d" => :mavericks
sha1 "90e9948dc8dbed0d143315c38e83c57c225cefb3" => :mountain_lion
sha1 "9907f652fb2e72447ddbb192bd83988e382d8271" => :lion
end
2014-05-20 05:51:07 +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
system "make install"
end
end