.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DEBAUX-BUILD 1p" .TH DEBAUX-BUILD 1p "2021-01-05" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" debaux\-build \- Debian package building script .SH "SYNOPSIS" .IX Header "SYNOPSIS" debaux-build [\s-1OPTIONS\s0] \s-1DEBDIR\s0 [\s-1BUILDDIR SOURCEDIR\s0] .PP debaux-build \-\-cpan Net::Google .SH "VERSION" .IX Header "VERSION" 0.1.11 .SH "DESCRIPTION" .IX Header "DESCRIPTION" debaux-build is a helper script for building Debian packages. Besides options it takes up to three parameters: \s-1DEBDIR, BUILDDIR, SOURCEDIR. DEBDIR\s0 is a required parameter. .PP If \s-1DEBDIR\s0 doesn't exist, debaux-build tries to download the package with apt-get source. .PP debaux-build applies all patches found in the \s-1DEBDIR\s0 subdirectory patches. .PP If no source tarball exist and the \s-1DEBDIR\s0 subdirectory sources exist, all files in this directory get packed and used as source tarball. .SH "OPTIONS" .IX Header "OPTIONS" .ie n .IP """\-\-apt""" 4 .el .IP "\f(CW\-\-apt\fR" 4 .IX Item "--apt" Forces apt-get source mode. .ie n .IP """\-\-archive""" 4 .el .IP "\f(CW\-\-archive\fR" 4 .IX Item "--archive" Specifies file name of source archive. .ie n .IP """\-\-build\-options""" 4 .el .IP "\f(CW\-\-build\-options\fR" 4 .IX Item "--build-options" Options passed to \f(CW\*(C`dpkg\-buildpackage\*(C'\fR. .ie n .IP """\-\-chroot=DIRECTORY""" 4 .el .IP "\f(CW\-\-chroot=DIRECTORY\fR" 4 .IX Item "--chroot=DIRECTORY" Build package in a chroot environment. .ie n .IP """\-\-cpan""" 4 .el .IP "\f(CW\-\-cpan\fR" 4 .IX Item "--cpan" Download Perl module from \s-1CPAN\s0 and create necessary Debian packaging files. You need to have the dh-make Debian package installed in order to utilize this option. .ie n .IP """\-\-empty""" 4 .el .IP "\f(CW\-\-empty\fR" 4 .IX Item "--empty" Empty package (no source code archive). Intended to use for task packages. .ie n .IP """\-\-env=NAME=VALUE""" 4 .el .IP "\f(CW\-\-env=NAME=VALUE\fR" 4 .IX Item "--env=NAME=VALUE" Sets environment variable(s) for builds in chroot environments. .Sp Example for using gcc-snapshot in a chroot containing Debian unstable (sid): .Sp \&\f(CW\*(C`\-\-env=\*(AqPATH=/usr/lib/gcc\-snapshot/bin:$PATH\*(Aq \-\-env=\*(AqLD_LIBRARY_PATH=/usr/lib/gcc\-snapshot/lib:$LD_LIBRARY_PATH\*(Aq\*(C'\fR .ie n .IP """\-\-epoch""" 4 .el .IP "\f(CW\-\-epoch\fR" 4 .IX Item "--epoch" Specifies epoch for \s-1CPAN\s0 builds. .ie n .IP """\-\-extra\-sources""" 4 .el .IP "\f(CW\-\-extra\-sources\fR" 4 .IX Item "--extra-sources" Specifies a directory below \s-1DEBDIR\s0 which is copied to the build directory. .ie n .IP """\-i, \-\-install, \-\-install=PACKAGE""" 4 .el .IP "\f(CW\-i, \-\-install, \-\-install=PACKAGE\fR" 4 .IX Item "-i, --install, --install=PACKAGE" Install build package. .ie n .IP """\-l, \-\-lintian""" 4 .el .IP "\f(CW\-l, \-\-lintian\fR" 4 .IX Item "-l, --lintian" Run lintian on the source file and the generated packages. .ie n .IP """\-\-make\-archive""" 4 .el .IP "\f(CW\-\-make\-archive\fR" 4 .IX Item "--make-archive" Intended to use for native Debian packages. Specify the commands to build the archive here. .ie n .IP """\-\-release""" 4 .el .IP "\f(CW\-\-release\fR" 4 .IX Item "--release" The generated packages are targeted for official Debian packages. .ie n .IP """\-\-rpm, \-\-alien""" 4 .el .IP "\f(CW\-\-rpm, \-\-alien\fR" 4 .IX Item "--rpm, --alien" Convert generated packages into \s-1RPM\s0 packages by using \f(CW\*(C`alien\*(C'\fR. .ie n .IP """\-s, \-\-sign""" 4 .el .IP "\f(CW\-s, \-\-sign\fR" 4 .IX Item "-s, --sign" Sign source package and changelog. .ie n .IP """\-\-skip\-patches""" 4 .el .IP "\f(CW\-\-skip\-patches\fR" 4 .IX Item "--skip-patches" Don't apply patches from the patches directory and sources.diff file. .ie n .IP """\-\-source\-tree""" 4 .el .IP "\f(CW\-\-source\-tree\fR" 4 .IX Item "--source-tree" Instructs \f(CW\*(C`debaux\-build\*(C'\fR to use the specified directory instead of an archive file. .ie n .IP """\-\-stop\-before\-build""" 4 .el .IP "\f(CW\-\-stop\-before\-build\fR" 4 .IX Item "--stop-before-build" Stop script before calling \f(CW\*(C`dpkg\-buildpackage\*(C'\fR. .SH "CONFIGURATION FILE" .IX Header "CONFIGURATION FILE" \&\f(CW\*(C`debaux\-build\*(C'\fR looks for the configuration file \f(CW\*(C`.debauxrc\*(C'\fR in the home directory and in the current directory and recognizes the following directives: .ie n .IP """debauxdir"" \s-1PACKAGE\s0" 4 .el .IP "\f(CWdebauxdir\fR \s-1PACKAGE\s0" 4 .IX Item "debauxdir PACKAGE" Used as \f(CW\*(C`DEBDIR\*(C'\fR for package if it is an existing directory. Considered before the directive. .ie n .IP """debiandir""" 4 .el .IP "\f(CWdebiandir\fR" 4 .IX Item "debiandir" If the directory \f(CW\*(C`DEBDIR\*(C'\fR on the commandline doesn't exist, \&\f(CW\*(C`debaux\-build\*(C'\fR appends \f(CW\*(C`DEBDIR\*(C'\fR to the specified directory and tries again. .ie n .IP """sourcedir""" 4 .el .IP "\f(CWsourcedir\fR" 4 .IX Item "sourcedir" Directory with the source archives. Can be overridden by the commandline parameter \f(CW\*(C`SOURCEDIR\*(C'\fR. .ie n .IP """source\-tree"" \s-1PACKAGE\s0" 4 .el .IP "\f(CWsource\-tree\fR \s-1PACKAGE\s0" 4 .IX Item "source-tree PACKAGE" Directory with the source code for \s-1PACKAGE.\s0 .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdpkg\fR\|(8), \fBdpkg\-source\fR\|(1), \fBapt\-get\fR\|(8) .SH "AUTHOR" .IX Header "AUTHOR" Stefan Hornburg (Racke) . .SH "LICENSE" .IX Header "LICENSE" debaux-build comes with \s-1ABSOLUTELY NO WARRANTY.\s0 This is free software, and you are welcome to redistribute and modify it under the terms of the \&\s-1GNU\s0 General Public License. .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright 2000,2001,2002,2003,2004,2005,2006,2007,2008,2010 Stefan Hornburg (Racke) .