NAME

Software::Packager::Object::Aix

SYNOPSIS

use Software::Packager::Object::Aix

DESCRIPTION

This module is extends Software::Packager::Object and adds extra methods for
use by the AIX software packager.

FUNCTIONS

lpp_type()

The LPP type for objects determines the type of LPP package created.
If the objects destination is under /usr/share then the object is of type SHARE
If the objects destination is under /usr then the object has a type of USER
If the objects destination is under any other directory then the object has a
type of ROOT+USER.

Note: when using the methods
lpp_type_is_share()
lpp_type_is_user()
lpp_type_is_root()
If the lpp_type_is_share() returns true then both lpp_type_is_user() and
lpp_type_is_root() will also return true.
Also if lpp_type_is_user() returns true then lpp_type_is_root() will also
return true.
So when calling these method do something like...

foreach my $object ($self->get_object_list())
{
	$share++ and next if $object->lpp_type_is_share();
	$user++ and next if $object->lpp_type_is_user();
	$root++ and next if $object->lpp_type_is_root();
}

lpp_type_is_share()

$share++ if $object->lpp_type_is_share();

Returns the true if the LPP is SHARE otherwise it returns undef.

lpp_type_is_user()

$share++ if $object->lpp_type_is_user();

Returns the true if the LPP is USER otherwise it returns undef.

lpp_type_is_root()

$share++ if $object->lpp_type_is_root();

Returns the true if the LPP is ROOT+USER otherwise it returns undef.

SEE ALSO

Software::Packager::Object

AUTHOR

R Bernard Davison <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.