Application Packaging Developer's Guide

Package Environment Variables Summary

The following table summarizes variable specification formats, location, and scope.

Table 2–2 Package Environment Variables Summary

Where Variable Is Defined 

Variable Definition Format 

Variable Type Being Defined 

When the Variable is Evaluated 

Where the Variable is Evaluated 

Items the VariableMay Substitute For 

pkginfo file

PARAM=value

Build 

Ignored at build time 

N/A 

None 

Install 

Install time 

In the pkgmap file

owner, group, path, or link target

 

 

prototype file

!PARAM=value

Build 

Build time 

In the prototype file and any included files

mode, owner, group, or path

Install 

Build time 

In the prototype file and any included files

!search and !command commands only

 

 

pkgmk command line

PARAM=value

Build 

Build time 

In the prototype file

mode, owner, group, or path

Install 

Build time 

In the prototype file

!search command only

 

 

Install time 

In the pkgmap file

owner, group, path, or link target