homebrew-core/Formula/xz.rb
Jonathan Wright 88aca2991d Fix xz building on x86-64
The assembly for the CRC checks fails to build for x86-64. Disable the assembly.
2010-01-03 17:07:04 +13:00

14 lines
478 B
Ruby

require 'formula'
class Xz <Formula
url 'http://tukaani.org/xz/xz-4.999.9beta.tar.bz2'
homepage 'http://tukaani.org/xz/'
md5 'cc4044fcc073b8bcf3164d1d0df82161'
version '4.999.9beta' # *shrug*
def install
# Disable the assembly CRC checks they use x86 rather than x86-64 asm and fail to build for x86-64.
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-assembler"
system "make install"
end
end