LCFG::Build::Utils::MacOSX - LCFG software building utilities
This documentation refers to LCFG::Build::Utils::MacOSX version 0.0.45
my $dir = q{.}; my $spec = LCFG::Build::PkgSpec->new_from_metafile("$dir/lcfg.yml"); my $resultsdir = '/tmp/foo'; LCFG::Build::Utils::MacOSX->generate_metadata( $spec, $dir, $resultsdir )
This module provides a suite of utilities to help in building MacOSX packages from LCFG projects, particularly LCFG components. The methods are mostly used by tools which implement the LCFG::Build::Tool base class (e.g. LCFG::Build::Tool::OSXPkg) but typically they are designed to be generic enough to be used elsewhere.
There are two public methods you can call on this class.
This generates the Description.plist and Info.plist metadata files for building MacOSX packages with PackageMaker. It first looks in the directory specified in $dir and if templates for the metadata files are not found it uses those stored in /usr/share/lcfgbuild/templates. The generated files are placed into the output directory named in $outdir.
For building packages you will need PackageMaker.
This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.
FedoraCore5, FedoraCore6, ScientificLinux5
There are no known bugs in this application. Please report any problems to bugs@lcfg.org, feedback and patches are also always very welcome.
Stephen Quinney <squinney@inf.ed.ac.uk>
Copyright (C) 2008 University of Edinburgh. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.
To install LCFG::Build::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LCFG::Build::Tools
CPAN shell
perl -MCPAN -e shell install LCFG::Build::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.