Page Template

From CBLFS
Revision as of 10:13, 3 January 2007 by Kalessin (talk | contribs) (I put the "Contents" section in table format. It looks better and much of CBLFS is now using that format anyway.)
Jump to navigationJump to search
Download Source: url
Download Patch: url

Introduction to [[Package Name]]

What this package does/doesn't do.

Dependencies

Required

Recommended

Optional

Creating the [name] User/Group

This is an optional section. If your package requires a user/group add this section to the page then append the table on the System User and Groups page. Below is an example.

groupadd -g [id] [name] &&
useradd -c "[desc]" -d /dev/null \
       -u [id] -g [name] -s /bin/false [name]

Configuration Information

This section can contain options that you may want to include when configuring the package, but should be left as a choice, eg:

--enable-someoption

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install

Configuring

This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories.

Contents

Installed Programs: program1 program2
Installed Libraries: libone.{a,la,so}
Installed Directory: /usr/share/program

Short Descriptions

program1 is [[short description of the program]].
program2 is [[short description of the program]].
library1.{a,la,so} is [[short description of the library]].