class PoiseBuildEssential::BuildEssentialProviders::Solaris

A provider for `poise_build_essential` to install on Solaris platforms.

@see PoiseBuildEssential::Resources::PoiseBuildEssential::Resource @provides poise_build_essential

Private Instance Methods

install_build_essential() click to toggle source

(see Base#install_build_essential)

# File lib/poise_build_essential/build_essential_providers/solaris.rb, line 33
def install_build_essential
  if node['platform_version'].to_f < 5.11
    unsupported_platform('poise_build_essential does not support Solaris before 11. You will need to install SUNWbison, SUNWgcc, SUNWggrp, SUNWgmake, and SUNWgtar from the Solaris DVD')
    return []
  end

  # lock because we don't use gcc 5 yet.
  [package('gcc') { version '4.8.2'} ] + \
  %w{autoconf automake bison gnu-coreutils flex gcc-3 gnu-grep gnu-make
     gnu-patch gnu-tar make pkg-config ucb}.map {|name| package name }
end