Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (23 sloc) 0.683 kB
dep 'build tools' do
requires {
on :osx, 'xcode tools'
on :linux, 'linux build tools'
}
end
dep 'linux build tools', :template => 'bin' do
installs {
via :yum, %w[gcc gcc-c++ autoconf automake libtool]
via :zypper, %w[gcc gcc-c++ autoconf automake libtool]
via :apt, %w[build-essential autoconf automake libtool]
via :pacman, 'base-devel'
}
provides %w[gcc g++ make ld autoconf automake libtoolize]
end
dep 'xcode tools' do
met? {
in_path?(%w[cc gcc c++ g++]) && in_path?(%w[clang make ld libtool])
}
meet {
unmeetable! "Install Xcode via the App Store, then go Preferences -> Downloads -> Components -> Command Line Tools."
}
end
Jump to Line
Something went wrong with that request. Please try again.