Using your favorite text editor, create a file named pkginfo.
You can create this file anywhere on your system.
Edit the file and define the five required parameters.
The five required parameters are: PKG
, ARCH
, VERSION
, NAME
, and CATEGORY
.
For more information on these parameters, see Creating a pkginfo File.
Add any other parameters that you like to the file.
Create your own parameters or see pkginfo(4) for information on the standard parameters.
Save your changes and quit the editor.
If you are ready to go to the next task, see How to Organize A Package's Contents.
This example shows the contents of a valid pkginfo
file, with the five required parameters defined, as well as the BASEDIR
parameter. The BASEDIR
parameter is discussed in more detail in The path Field.
PKG=SUNWcadap NAME=Chip designers need CAD application software to design abc chips. Runs only on xyz hardware and is installed in the usr partition. ARCH=sparc VERSION=release 1.0 CATEGORY=system BASEDIR=/opt |