.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.29. .TH "SRC2PKG" "1" "May 2007" "src2pkg version-1.1" "User Commands" .SH "NAME" src2pkg \- manual page for src2pkg version\-1.1 .SH "DESCRIPTION" src2pkg \- Build an installable package from a source tarball. .TP src2pkg [-h,--help,--version] .TP src2pkg [User Options] [Build Options] file\-name .TP src2pkg \fB\-[ABCDHINOPTUV(VV)(VVV)WX\fr] [abcdefimnpsuv] file\-name .IP The following options take no argument: .TP \fB\-A\fR Autogenerate a src2pkg script if the build succeeds. .TP \fB\-B\fR Keep backup of any files overwritten by this installation. .TP \fB\-C\fR Place finished package in Current directory. .TP \fB\-D\fR Don't apply diff or patch files automatically. .TP \fB\-H\fR Place finished package in your HOME directory. .TP \fB\-I\fR Install the created package when finished. .TP \fB\-N\fR Generate a starting src2pkg script and description file only. .TP \fB\-O\fR Use an OBJECT directory for building (USE_OBJ_DIR='YES'). .TP \fB\-P\fR Preserve permissions in the source directory. (CORRECT_PERMS='NO') .TP \fB\-T\fR Test\-build the source code without attempting to make a package. .TP \fB\-U\fR Update the build script for compatibility if needed. .TP \fB\-V\fR Replay errors in configuration or compilation, even in QUIET mode. .TP \fB\-VV\fR Be verbose. Show all output from the steps (QUIET='NO'). .TP \fB\-VVV\fR DEBUG -show detailed prompts for debugging. .TP \fB\-W\fR Wipe out temporary files (CLEANUP=ALL). .TP \fB\-X\fR Execute a build script in the current working directory. .IP The following options require an argument separated by the '=' sign: Use quotes '' or "" around the arguments if they contain spaces. .TP \fB\-a\fR Set the architecture of the package (\-\-arch)[\-a=noarch] (ARCH=''). .TP \fB\-b\fR Set the build or release number (\-\-build)[\-b=2] (BUILD=''). .TP \fB\-c\fR Set the CONFIG_COMMAND option. .TP \fB\-d\fR Set the list of douments to include [\-d='README AUTHORS'] (DOCLIST=''). .TP \fB\-e\fR Pass extra arguments to configure [\-e='\-\-disable\-gnome'] (EXTRA_CONFIGS=''). .TP \fB\-f\fR Set the CFLAGS variable [\-f='\-Wall \fB\-O3\fR'] (STD_FLAGS=''). .TP \fB\-i\fR Set the install command line (\-\-install)(\-i='make install'). .TP \fB\-m\fR Set the 'make' command [\-m='make dep all']. .TP \fB\-n\fR Set the package name (\-\-alt\-name)[\-n='newname'] (ALT_NAME=''). .TP \fB\-p\fR Set the package installation prefix [\-p=/usr/local] (PRE_FIX=''). .TP \fB\-s\fR Set the configuration subdir [\-s=src] (CONFIG_SUBDIR=''). .TP \fB\-u\fR Set the URL location of the source tarball. .TP \fB\-v\fR Set the version of the package (\-\-alt\-version)[\-v=0.0.0a]. Note: Variables shown above in parenthesis are the src2pkg script equivalents. .SH "EXAMPLES" .IP Examples: .IP src2pkg myprogram\-0.1tar.bz2 .IP src2pkg \fB\-N\fR myprogram\-0.1.tar.bz2 .IP src2pkg \fB\-i=\fR'make install install\-data'\fB\-A\fR myprogram\-0.1.tar.bz2 .IP src2pkg \fB\-e=\fR'\-\-disable\-nls' \fB\-A\fR myprogram\-0.1.tar.bz2 .SH "USAGE" When given the name of a compressed source tarball .B src2pkg performs all the commands necessary to unpack and compile the sources and then install them using the command \'make install\', tracking whatever directories, files or links are created and then making a Slackware\-type tgz package from those files, etc. .BR .SH "SEE ALSO" The full documentation for .B src2pkg is maintained as part of the .B src2pkg package. .LP .B See /usr/doc/src2pkg\\-x.x for further usage. .PP