6. Defining package dependencies
Package dependencies and incompatibilities can be
defined with two of the optional
package information files.
Delivering a
compver(4)
file lets you name
versions of your package that are compatible with the one being installed.
Delivering a
depend(4)
file lets you define three types of dependencies
associated with your package.
These dependency types are:
a prerequisite package-
your package depends on the existence of another package
a reverse dependency-
another package depends on the existence of your package
NOTE:
This type should only be used when a pre-UNIX System V Release 4 package
(that cannot deliver a
depend(4)
file) relies on the newer package.
an incompatible package-
your package is incompatible with this one
Refer to
``depend''
and
``compver'',
or the manual pages
depend(4)
and
compver(4)
for details on the formats of these files.
NOTE:
Be certain that your
depend
and
compver
files have entries in
the
prototype(4)
file.
The file type should be i (for package information file).
Next topic:
7. Writing a copyright message
Previous topic:
Reserving additional space on the installation machine
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004