homebrew-core/Formula/jpeg.rb
Jacob Magnusson c4b5df01aa jpeg: add explicit shared/static configure flags
These flags are needed for proper compilation on Lion.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-31 16:44:06 -07:00

14 lines
374 B
Ruby

require 'formula'
class Jpeg < Formula
url 'http://www.ijg.org/files/jpegsrc.v8c.tar.gz'
version '8c'
md5 'a2c10c04f396a9ce72894beb18b4e1f9'
homepage 'http://www.ijg.org'
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--enable-shared", "--enable-static"
system "make install"
end
end