class Vanagon::Platform::RPM::AIX
AIX
is special. This subclassing gives us the chance to define some sane defaults for aix without cluttering the main rpm class in if statements.
Public Class Methods
new(name)
click to toggle source
Constructor. Sets up some defaults for the aix platform and calls the parent constructor
@param name [String] name of the platform @return [Vanagon::Platform::RPM::AIX] the rpm derived platform with the given name
Calls superclass method
Vanagon::Platform::RPM::new
# File lib/vanagon/platform/rpm/aix.rb, line 15 def initialize(name) @name = name @make = "/usr/bin/gmake" @tar = "/opt/freeware/bin/tar" @patch = "/opt/freeware/bin/patch" @sed = "/opt/freeware/bin/sed" @shasum = "/opt/freeware/bin/sha1sum" @num_cores = "lsdev -Cc processor |wc -l" @install = "/opt/freeware/bin/install" @rpmbuild = "/usr/bin/rpm" super(name) end
Public Instance Methods
rpm_defines()
click to toggle source
# File lib/vanagon/platform/rpm/aix.rb, line 7 def rpm_defines %(--define '_topdir $(tempdir)/rpmbuild' ) end