7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
530 B
Ruby
16 lines
530 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", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-assembler"
|
|
system "make install"
|
|
end
|
|
end
|