homebrew-core/Formula/jpeg.rb

21 lines
617 B
Ruby
Raw Normal View History

require 'formula'
2009-06-28 15:56:15 +00:00
2011-03-10 05:11:03 +00:00
class Jpeg < Formula
2010-03-22 18:10:33 +00:00
homepage 'http://www.ijg.org'
url 'http://www.ijg.org/files/jpegsrc.v8d.tar.gz'
version '8d'
sha1 'f080b2fffc7581f7d19b968092ba9ebc234556ff'
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
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
end