Difference between revisions of "Page Template"

From CBLFS
Jump to navigationJump to search
m (Protected "Page Template" [edit=autoconfirmed:move=sysop])
(I put the "Contents" section in table format. It looks better and much of CBLFS is now using that format anyway.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| url
 
| url
|-
+
|-valign="top"
 
!Download Patch:
 
!Download Patch:
 
| url
 
| url
Line 95: Line 95:
 
= Contents =
 
= Contents =
  
Installed Programs: program1 program2
+
{| style="text-align: left;"
 
+
|-valign="top"
Installed Libraries: libone.so.1
+
! Installed Programs:
 
+
| program1 program2
Installed Directory: /usr/share/program
+
|-valign="top"
 +
! Installed Libraries:
 +
| libone.{a,la,so}
 +
|-valign="top"
 +
! Installed Directory:
 +
| /usr/share/program
 +
|}
  
 
=== Short Descriptions ===
 
=== Short Descriptions ===
  
program1: a short description of the program
+
{| style="text-align: left;"
 
+
|-valign="top"
program2: a short description of the program
+
! program1
 +
| is '''''<nowiki>[[short description of the program]]</nowiki>'''''.
 +
|-valign="top"
 +
! program2
 +
| is '''''<nowiki>[[short description of the program]]</nowiki>'''''.
 +
|-valign="top"
 +
! library1.{a,la,so}
 +
| is '''''<nowiki>[[short description of the library]]</nowiki>'''''.
 +
|}

Revision as of 11:13, 3 January 2007

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]].