Element: <utilizes>

Syntax

<!ELEMENT utilizes       (name, version*)>

This element occurs in : Element: <packageinfo>

See also : Element: <name> | Element: <version>

Description

The element utilizes indicates that the package containing the utilizes element utilizes the package whose name is contained in the name sub-element, but does not depend on it (in which case the element requires should be used).

The actual name is put into a name element because we might want to add a version in a future version.

[Note] Note

To work properly, then element name must be defined in the same profile.

Examples

<package name="gimp" version="1.2.3">

        <packageinfo>

                <requires><name>gtk+</name></requires>

                <utilizes><name>libtiff</name></utilizes>
                <utilizes><name>libpng</name></utilizes>
                <utilizes><name>libjpeg</name></utilizes>
                <utilizes><name>aalib</name></utilizes>
                <utilizes><name>mpeg_lib</name></utilizes>
                <utilizes><name>python</name></utilizes>

        </packageinfo>

        .....

</package>

There is no equivalent Bash script example for this element.