Skip to content

Instantly share code, notes, and snippets.

@robbi5
Created July 29, 2011 17:48
Show Gist options
  • Save robbi5/1114329 to your computer and use it in GitHub Desktop.
Save robbi5/1114329 to your computer and use it in GitHub Desktop.
homebrew jpeg: no universial binary for Lion
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