class PoiseBuildEssential::BuildEssentialProviders::OmniOS

A provider for `poise_build_essential` to install on OmniOS 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/omnios.rb, line 33
def install_build_essential
  # Per OmniOS documentation, the gcc bin dir isn't in the default
  # $PATH, so add it to the running process environment.
  # http://omnios.omniti.com/wiki.php/DevEnv
  ENV['PATH'] = "#{ENV['PATH']}:/opt/gcc-4.7.2/bin"

  %w{developer/gcc48 developer/object-file developer/linker
     developer/library/lint developer/build/gnu-make system/header
     system/library/math/header-math}.map {|name| package name }
end