You must create the following components before you build your package:
Package Objects
These are the components that make up the application. They can be:
Files (executable or data)
Directories
Named pipes
Links
Devices
The pkginfo file
The pkginfo file is a required package information file defining parameter values such as the package abbreviation, the full package name, and the package architecture. For more information, see "Creating a pkginfo File" and the pkginfo(4) man page.
There are two pkginfo man pages. The first is a section 1 command, which displays information about installed packages. The second is a section 4 file, which describes the characteristics of a package. When accessing the man pages, be sure to specify from which section you want the man page. For example: man -s 4 pkginfo
The prototype file
The prototype file is a required package information file that lists the components of the package. It describes the location, attributes, and file type for each component within a package.
In the prototype file, there is one entry for each package object, information file, and installation script. An entry consists of several fields of information describing the object. For more information, see "Creating a prototype File"and the prototype(4) man page.