homebrew-core/Formula/jpeg.rb

24 lines
656 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'
sha1 'f080b2fffc7581f7d19b968092ba9ebc234556ff'
2012-08-11 15:02:29 +00:00
bottle do
sha1 '80b23581fb5b2b92d787969f75cedbe8054c93a4' => :mountainlion
sha1 'a16984c6522807644ea960cb724f91aeca2d3dd0' => :lion
sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard
end
2013-01-31 19:06:58 +00:00
option :universal
2009-06-28 15:56:15 +00:00
def install
2013-01-31 19:06:58 +00:00
ENV.universal_binary if build.universal?
2013-01-27 22:34:53 +00:00
# Builds static and shared libraries.
2013-01-31 19:06:58 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-07-23 12:03:15 +00:00
system "make install"
2009-06-28 15:56:15 +00:00
end
end