Developer's Topics
Chapter 13, Packaging your software applications

pkginfo

pkginfo

This required package information file defines parameter values that describe characteristics of the package, such as the package abbreviation, full package name, package version, and package architecture. The definitions in this file can set values for all of the installation parameters defined in the pkginfo(F) manual page.

Each entry in the file uses the following format to establish the value of a parameter:

   PARAM="value"
Here is an example of a pkginfo file: 
   PKG="pkgA"
   NAME="My Package A"
   ARCH="i386"
   RELEASE="4.0"
   VERSION="2"
   VENDOR="MYCOMPANY"
   HOTLINE="1-800-677-BUGS"
   VSTOCK="0122c3f5566"
   CATEGORY="application"
   ISTATES="S 2"
   RSTATES="S 2"

The pkginfo(C) and pkgparam(C) commands can be used to access information in a pkginfo file.


NOTE: Before defining the PKG, ARCH, and VERSION parameters, you need to know how pkgadd(ADM) defines a package instance and the rules associated with naming a package. Refer to ``2. Defining a package instance'' before assigning values to these parameters.