NAME

Software::Packager::Darwin - The Software::Packager extension for MacOS X

DESCRIPTION

This module is a sub class of Software::Packager. It is used to create MacOS X
software packages for installation using the Installer application.

Note: I haven't managed to find to much information on the full format of 
MacOS X packages so this module trys to mimic what the PackageMaker.app 
program does and what is contains in packages from Apple. presumably they are
using many of the features that PackageMaker doesn't provide.

package()

This method overrides the base API from Software::Packager. This method does
all the dirty work of creating the software package for MacOS X.

install_dir()

$packager->install_dir('/usr/local');
my $base_dir = $packager->install_dir();

This method sets the base directory for the software to be installed. The installation directory must start with a "/".

setup()

This method creates the temporary package structure in preparation for the
package creation phase

cleanup()

This method cleans up anything we have created but nolonger need.

create_package()

This function creates the .pkg package directory and all the associated files.

create_package_info()

This method creates the package.info file for the package

SEE ALSO

Software::Packager

AUTHOR

R Bernard Davison <rbdavison@cpan.org>

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.