8. Creating the pkginfo file
The
pkginfo(F)
file establishes values for parameters that describe
the package and is a required package component.
The format for an entry in this file is:
PARAM="value"
PARAM can be any of the
21 standard parameters described in the
pkginfo(F)
manual page.
You can also create your own package parameters simply by assigning a value
to them in this file.
Your parameter names must begin with an uppercase letter followed by
either upper or lowercase letters.
The following five parameters are required:
-
PKG (package abbreviation)
-
NAME (full package name)
-
ARCH (package architecture)
-
VERSION (package version)
-
CATEGORY (package category)
The CLASSES parameter dictates which classes are installed and
the order of installation.
Although the parameter is not required, no classes will be installed
without it.
Even if you have no class action scripts, the none class must be
defined in the CLASSES parameter before objects belonging to
that class will be installed.
NOTE:
You can choose to define the value of CLASSES with a request
script and
not to deliver a value in the
pkginfo(F)
file.
Next topic:
9. Creating the prototype file
Previous topic:
7. Writing a copyright message
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003