homebrew-core/Formula/jpeg.rb

25 lines
644 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-12-05 04:53:44 +00:00
cellar :any
revision 2
sha1 'f668b1e9cb382e194c632c1d5865b7bea096c3ac' => :mavericks
sha1 '4dd056f2bf243eef145a613ed1a51e65e4b5d0a4' => :mountain_lion
sha1 '396612e00ac31ca730d913ebdfd1b99881304702' => :lion
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?
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