homebrew-core/Formula/jpeg.rb

25 lines
673 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
2013-03-03 23:33:15 +00:00
revision 1
sha1 'efdcddaee959b85d35a232ddcf1e7ae0577a8704' => :mountain_lion
sha1 '17b90896ea0f517fb980e8f82ad8baa8f3639e43' => :lion
sha1 '5df0f135a9e43cd37d69b4ec6022323d72c477ae' => :snow_leopard
2012-08-11 15:02:29 +00:00
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