NAME
Software::Packager::Aix
SYNOPSIS
use Software::Packager;
my $packager = new Software::Packager('aix');
DESCRIPTION
This module is used to create software packages in a format suitable for
installation with installp.
The procedure is baised heaverly on the lppbuild version 2.1 scripts.
It creates AIX 4.1 and higher packages only.
FUNCTIONS
add_item()
The method overrides the add_item method of Software::Packager to use
Software::Packager::Object::Aix.
See Software::Packager for more details on this method.
_find_lpp_type()
This method finds the type of LPP we are building.
If all components are under /usr/share then the part is a SHARE package.
If all components are under /usr then the part is a USER package.
If components are under any other directory then the part is a ROOT+USER package.
ROOT only parts are not permitted.
SHARE + ROOT and or USER parts are not permitted.
Returns the LPP code for the part type on success and undef if there are
errors.
a USER part will return U
a ROOT+USER part will return B
a SHARE part will return H
setup()
This method sets up the temporary build structure.
cleanup()
This method cleans up after us.
_check_version()
This method is used to check the format of the version and returns true, if
there are any problems then it returns undef;
This method overrides Software::Packager::_check_version
Test that the format is digits and periods anything else is a no good.
The first and second numbers must have 1 or 2 digits
The rest can have 1 to 4 digits.
SEE ALSO
Software::Packager
AUTHOR
Bernard Davison <rbdavison@cpan.org>
HOMEPAGE
http://bernard.gondwana.com.au
COPYRIGHT
Copyright (c) 2001 Gondwanatech. All rights reserved.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.