require 'formula' class Jpeg < Formula homepage 'http://www.ijg.org' url 'http://www.ijg.org/files/jpegsrc.v8d.tar.gz' version '8d' sha1 'f080b2fffc7581f7d19b968092ba9ebc234556ff' bottle do sha1 '80b23581fb5b2b92d787969f75cedbe8054c93a4' => :mountainlion sha1 'a16984c6522807644ea960cb724f91aeca2d3dd0' => :lion sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard end def install ENV.universal_binary # Builds universal libs. Default is static & shared. system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" end end