6. Defining package dependencies
Package dependencies and incompatibilities can be
defined with two of the optional
package information files.
Delivering a
compver(F)
file lets you name
versions of your package that are compatible with the one being installed.
Delivering a
depend(F)
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(F)
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(F)
and
compver(F)
for details on the formats of these files.
NOTE:
Be certain that your
depend
and
compver
files have entries in
the
prototype(F)
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
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003