jpeg: add --universal as an option
This commit is contained in:
parent
28f37d4e80
commit
fdab2bbd9b
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue