Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debian-builder(1) [debian man page]

DEBIAN-BUILDER(1)					User Contributed Perl Documentation					 DEBIAN-BUILDER(1)

NAME
debian-builder - Rebuild a Debian package from its source code. SYNOPSIS
debian-builder [options] Help Options: --debug Show useful debugging information. --help Show this scripts help information. --manual Read this scripts manual. --version Show the version number and exit. --verbose Show verbose output. Building options: --sign Force package signing, disabled by default. --debuild foo Pass arguments 'foo' onto debuild when building --suffix foo Give the built package versions the suffix 'foo'. OPTIONS
--debug Show the commands this script executes as an aid to debugging. --help Show the brief help information. --verbose Show verbose information useful to debugging. DESCRIPTION
debian-builder is a simple script which is designed to facilitate the rebuilding of a Debian GNU/Linux package from its source code. It will correctly handle the installation of any required build-dependencies, and remove them once building is complete. AUTHOR
Steve -- http://www.steve.org.uk/ $Id: debian-builder,v 1.14 2006/06/04 18:24:04 steve Exp $ LICENSE
Copyright (c) 2005 by Steve Kemp. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license. buildPackage Do all the work of building the given package. Return '>0' on success, '0' on failure of any kind. (The result is the number of binary files moved into the results directory.) parseCommandLineArguments Parse any command line arguments, and set the appropriate values in the global CONFIG hash. getSourcePackageName Return the name of the source package required to build package 'foo' getPackageSource Download the source of the package to the specified directory and return the name of the unpacked directory. updateChangeLog If the Debian changelog file doesn't already refer to the specified version then add it. saveDebianPackage Move the build Debian package, associated .diff.gz file, .changes file, etc. From the build directory into the binary directory. Return the number of files moved into the binary directory. tidySystem Uninstall all the build dependency packages we installed. We do this by finding the list of all packages which are currently installed and removing those that were not present when we started. getInstalledPackages Return a hash of all the currently installed packages. installBuildDependencies Install the build-dependencies required to build the given package. removePackages Remove the given array of packages from the system. END Desperately try to reset the host system to the same starting point as it initially had. This should be taken care of in situations where the script doesn't abort on an error condition. perl v5.8.8 2008-03-13 DEBIAN-BUILDER(1)

Check Out this Related Man Page

MK-BUILD-DEPS(1)														  MK-BUILD-DEPS(1)

NAME
mk-build-deps - build a package satisfying a package's build-dependencies SYNOPSIS
mk-build-deps --help|--version mk-build-deps [options] control file | package name ... DESCRIPTION
Given a package name and/or control file, mk-build-deps will use equivs to generate a binary package which may be installed to satisfy all the build dependencies of the given package. If --build-dep and/or --build-indep are given, then the resulting binary package(s) will depend solely on the Build-Depends/Build-Depends-Indep dependencies, respectively. OPTIONS
-i, --install Install the generated packages and its build-dependencies. -t, --tool When installing the generated package use the specified tool. (default: apt-get --no-install-recommends) -r, --remove Remove the package file after installing it. Ignored if used without the --install switch. -a foo, --arch foo If the source package has architecture-specific build dependencies, produce a package for architecture foo, not for the system architecture. (If the source package does not have architecture-specific build dependencies, the package produced is always for the pseudo-architecture all.) -B, --build-dep Generate a package which only depends on the source package's Build-Depends dependencies. -A, --build-indep Generate a package which only depends on the source package's Build-Depends-Indep dependencies. -h, --help Show a summary of options. -v, --version Show version and copyright information. -s, --root-cmd Use the specified tool to gain root privileges before installing. Ignored if used without the --install switch. AUTHOR
mk-build-deps is copyright by Vincent Fourmond and was modified for the devscripts package by Adam D. Barratt <adam@adam-barratt.org.uk>. This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License, version 2 or later. Debian Utilities 2013-12-23 MK-BUILD-DEPS(1)
Man Page