brew/Library/Homebrew/requirements/cctools_requirement.rb

14 lines
584 B
Ruby
Raw Normal View History

# Represents a general requirement for utilities normally installed by Xcode,
# the CLT, or provided by the cctools formula. In particular, this requirement
# allows Homebrew to pull in the cctools formula and use its utilities to
# perform relocation operations on systems that do not have either Xcode or the
# CLT installed (but still want to install bottled formulae).
2015-05-29 20:07:33 -04:00
class CctoolsRequirement < Requirement
fatal true
default_formula 'cctools'
satisfy(:build_env => false) do
MacOS::Xcode.installed? || MacOS::CLT.installed? || Formula['cctools'].installed?
2015-05-29 20:07:33 -04:00
end
end