jpeg: add --universal as an option

This commit is contained in:
Adam Vandenberg 2013-01-31 11:06:58 -08:00
parent 28f37d4e80
commit fdab2bbd9b

View file

@ -11,10 +11,13 @@ class Jpeg < Formula
sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard
end
option :universal
def install
ENV.universal_binary
ENV.universal_binary if build.universal?
# Builds static and shared libraries.
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end