<<

NAME

MUD::Build - Build packages suitable for upload

SYNOPSIS

    use MUD::Build;
    my $mud = MUD::Build->new( package => 'vim' );
    $mud->build();

DESCRIPTION

This class is primarily responsible for controlling the build process used by mud.

METHODS

new( OPTS )

Create a new instance. OPTS is a hash containing name/value pairs:

package

Name of the package. This is required. This can either a MUD::Package reference, or the name of a package. The use of reference passing is used when doing recursive, dependency builds.

_init

Initialise a new instance. Private method.

build

Build the configured package and place the deb files ready for upload in the uploads/ directory.

fetch

Download the source for the package and unpack it in the build directory.

patch

Apply any patches for the given package and modify Debian control structures to apply to the Maemo SDK.

compile

Build the unpacked, and potentially patched, binaries.

source

Build the unpacked, and potentially patched, source packages ready for upload to the autobuilder.

At the moment, no check is made that a compile step is done previously, however this is seriously recommended to ensure that the auto-calculation of Build-Depends is done correctly.

clean

Remove the build directory and any temporary files used therein.

copy

Copy output files - including debs, tarballs, dsc and changes files - to the upload directory.

COPYRIGHT

(c) Andrew Flegg 2007 - 2009. Released under the Artistic Licence: http://www.opensource.org/licenses/artistic-license-2.0.php

SEE ALSO

http://mud-builder.garage.maemo.org/

<<