homebrew-core/Formula/xz.rb
Brett Koonce 7f6549a24b xz 5.0.4
Closes Homebrew/homebrew#13701.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-28 15:40:37 -07:00

18 lines
495 B
Ruby

require 'formula'
class Xz < Formula
homepage 'http://tukaani.org/xz/'
url 'http://tukaani.org/xz/xz-5.0.4.tar.bz2'
sha256 '5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end