2009-11-25 01:34:14 +00:00
|
|
|
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
|
2010-01-02 07:34:03 +00:00
|
|
|
# Disable the assembly CRC checks they use x86 rather than x86-64 asm and fail to build for x86-64.
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-assembler"
|
2009-11-25 01:34:14 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|