NAME
LCFG::Build::Utils::MacOSX - LCFG software building utilities
VERSION
This documentation refers to LCFG::Build::Utils::MacOSX version 0.0.45
SYNOPSIS
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 )
DESCRIPTION
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.
SUBROUTINES/METHODS
There are two public methods you can call on this class.
- generate_metadata( $pkgspec, $dir, $outdir )
-
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.
- build( $tarfile )
DEPENDENCIES
For building packages you will need PackageMaker.
PLATFORMS
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
BUGS AND LIMITATIONS
There are no known bugs in this application. Please report any problems to bugs@lcfg.org, feedback and patches are also always very welcome.
AUTHOR
Stephen Quinney <squinney@inf.ed.ac.uk>
LICENSE AND COPYRIGHT
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.