homebrew-core/Formula/xz.rb
Daniel Sloof 486a2a6c50 xz: swap mirrors
Upstream is being hammered by Homebrew users. Would like to have less traffic.

Closes Homebrew/homebrew#21419.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-24 07:31:31 -07:00

19 lines
606 B
Ruby

require 'formula'
# Upstream project has requested we use a mirror as the main URL
# https://github.com/mxcl/homebrew/pull/21419
class Xz < Formula
homepage 'http://tukaani.org/xz/'
url 'http://fossies.org/linux/misc/xz-5.0.5.tar.gz'
mirror 'http://tukaani.org/xz/xz-5.0.5.tar.gz'
sha256 '5dcffe6a3726d23d1711a65288de2e215b4960da5092248ce63c99d50093b93a'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end