2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-28 15:56:15 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jpeg < Formula
|
2012-01-31 17:33:25 +00:00
|
|
|
url 'http://www.ijg.org/files/jpegsrc.v8d.tar.gz'
|
|
|
|
sha1 'f080b2fffc7581f7d19b968092ba9ebc234556ff'
|
2010-03-22 18:10:33 +00:00
|
|
|
homepage 'http://www.ijg.org'
|
2012-01-31 17:33:25 +00:00
|
|
|
version '8d'
|
2010-06-13 21:53:25 +00:00
|
|
|
|
2012-08-11 15:02:29 +00:00
|
|
|
bottle do
|
|
|
|
sha1 '80b23581fb5b2b92d787969f75cedbe8054c93a4' => :mountainlion
|
|
|
|
sha1 'a16984c6522807644ea960cb724f91aeca2d3dd0' => :lion
|
|
|
|
sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard
|
|
|
|
end
|
|
|
|
|
2009-06-28 15:56:15 +00:00
|
|
|
def install
|
2011-09-18 06:31:54 +00:00
|
|
|
ENV.universal_binary # Builds universal libs. Default is static & shared.
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2009-07-23 12:03:15 +00:00
|
|
|
system "make install"
|
2009-06-28 15:56:15 +00:00
|
|
|
end
|
2010-06-13 21:53:25 +00:00
|
|
|
end
|