Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mk-build-deps(1) [netbsd 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)

Check Out this Related Man Page

dpkg-checkbuilddeps(1)						    dpkg suite						    dpkg-checkbuilddeps(1)

NAME
       dpkg-checkbuilddeps - check build dependencies and conflicts

SYNOPSIS
       dpkg-checkbuilddeps [option...]	[control-file]

DESCRIPTION
       This  program checks the installed packages in the system against the build dependencies and build conflicts listed in the control file. If
       any are not met, it displays them and exits with a nonzero return code.

       By default, debian/control is read, but an alternate control filename may be specified on the command line.

OPTIONS
       --admindir=dir
	      Change the location of the dpkg database (since dpkg 1.14.0).  The default location is /var/lib/dpkg.

       -A     Ignore Build-Depends-Arch and Build-Conflicts-Arch lines (since dpkg 1.16.4).  Use when only arch-indep packages will be	built,	or
	      combine with -B when only a source package is to be built.

       -B     Ignore  Build-Depends-Indep  and Build-Conflicts-Indep lines. Use when only arch-dep packages will be built, or combine with -A when
	      only a source package is to be built.

       -I     Ignore built-in build depends and conflicts (since dpkg 1.18.2).	These are implicit dependencies that are  usually  required  on  a
	      specific distribution, the so called Build-Essential package set.

       -d build-depends-string

       -c build-conflicts-string
	      Use the given build dependencies/conflicts instead of those contained in the debian/control file (since dpkg 1.14.17).

       -a arch
	      Check  build  dependencies/conflicts  assuming  that  the  package  described  in the control file is to be built for the given host
	      architecture instead of the architecture of the current system (since dpkg 1.16.2).

       -P profile[,...]
	      Check build dependencies/conflicts assuming that the package described in the control file is  to  be  built  for  the  given  build
	      profile(s) (since dpkg 1.17.2).  The argument is a comma-separated list of profile names.

       -?, --help
	      Show the usage message and exit.

       --version
	      Show the version and exit.

ENVIRONMENT
       DEB_BUILD_PROFILES
	      If  set,	it will be used as the active build profile(s) for the package being built. It is a space separated list of profile names.
	      Overridden by the -P option.

1.19.0.5							    2018-04-16						    dpkg-checkbuilddeps(1)
Man Page