MUD::Build - Build packages suitable for upload
use MUD::Build; my $mud = MUD::Build->new( package => 'vim' ); $mud->build();
This class is primarily responsible for controlling the build process used by mud
.
Create a new instance. OPTS is a hash containing name/value pairs:
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.
Initialise a new instance. Private method.
Build the configured package and place the deb files ready for upload in the uploads/
directory.
Download the source for the package and unpack it in the build directory.
Apply any patches for the given package and modify Debian control structures to apply to the Maemo SDK.
Build the unpacked, and potentially patched, binaries.
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.
Remove the build directory and any temporary files used therein.
Copy output files - including debs, tarballs, dsc and changes files - to the upload directory.
(c) Andrew Flegg 2007 - 2009. Released under the Artistic Licence: http://www.opensource.org/licenses/artistic-license-2.0.php