homebrew-core/Formula/xz.rb

26 lines
822 B
Ruby
Raw Normal View History

require 'formula'
# Upstream project has requested we use a mirror as the main URL
# https://github.com/mxcl/homebrew/pull/21419
2011-03-10 05:11:03 +00:00
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'
2013-10-28 11:19:31 +00:00
bottle do
sha1 '08b71836cce456f716a9415c1565eba5f172c735' => :mavericks
sha1 '9cc36f16730d913cfa6644eeaff6e5091a8e9602' => :mountain_lion
sha1 '4a181308ba15a63f7876d8b3852136288af78d28' => :lion
end
2012-08-10 04:39:38 +00:00
option :universal
def install
2012-08-10 04:39:38 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
2010-10-31 19:01:25 +00:00
"--prefix=#{prefix}"
system "make install"
end
end