Created
July 29, 2011 17:48
-
-
Save robbi5/1114329 to your computer and use it in GitHub Desktop.
homebrew jpeg: no universial binary for Lion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 # not on lion | |
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" | |
system "make install" | |
end | |
end | |
# fixes the "make: llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags"-Problem in OS X Lion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment