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


Software-Packager-Darwin documentation  | view source Contained in the Software-Packager-Darwin distribution.

Index


NAME

Top

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

DESCRIPTION

Top

 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

Top

 Software::Packager

AUTHOR

Top

 R Bernard Davison <rbdavison@cpan.org>

COPYRIGHT

Top


Software-Packager-Darwin documentation  | view source Contained in the Software-Packager-Darwin distribution.