Element: <packageinfo>

Syntax


<!ELEMENT packageinfo    (description?, requires*, utilizes*)>

This element occurs in the element : Element: <package>

See also : Element : <description> | Element: <requires> | Element: <utilizes>

Description

The element packageinfo groups elements containg information about the package, namely a description and some deopendency relationship.

The description of the packge is contained in the description sub-element.

The relationship "depends-on" is described by the requires sub-element.

The relationship "will utilize" is described by the utilizes sub-element.

Examples

The equivalent bash script is :

echo Generating package zlib 1.1.4

#-----------------------------------------
echo Stage "Unpacking a package."

echo Unpacking /usr/src/lfs-packages/zlib.1.1.4.tar.gz into /usr/src
cd /usr/src
[[ $? != 0 ]] &&  echo Command failed && exit 3

tar xzvf /usr/src/lfs-packages/zlib.1.1.4.tar.gz
[[ $? != 0 ]] &&  echo Command failed && exit 3


echo Exiting stage "Unpacking a package."

...

echo End of generating package zlib 1.1.4