DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

The command lines

The four types of commands that can be embedded in the prototype(F) file are:


search pathnames
Specifies a list of directories (separated by white space) in which pkgmk(C) should search when looking for package objects. pathnames is prepended to the basename of each object in the prototype file until the object is located.


NOTE: The search command will not work when invoking pkgmk with the -c option specified to compress all noninformation package files.


include filename
Specifies the pathname of another prototype file that should be merged into this one during processing. (Note that search requests do not span include files. Each prototype file should have its own search command defined, if one is needed.)

default mode owner group
Defines the default mode owner group that should be used if this information is not supplied in a prototype entry that requires the information. (The defaults do not apply to entries in any include files. Each prototype file should have its own default command defined, if one is needed.)

param=value
Places the indicated parameter in the packaging environment. This allows you to expand a variable pathname so that pkgmk can locate the object without changing the actual object pathname. (This assignment will not be available in the installation environment.)
A command line must always begin with an exclamation point (``!''). Commands can have variable substitutions embedded within them.

Here is an example prototype file with both description and command lines:

   !PROJDIR=/usr/myname
   !search /usr/myname/bin /usr/myname/src /usr/myname/hdrs
   !include $PROJDIR/src/prototype
   i pkginfo
   i request
   d bin ncmpbin 0755 root other
   f bin ncmpbin/dired=/usr/ncmp/bin/dired 0755 root other
   f bin ncmpbin/less=/usr/ncmp/bin/less 0755 root other
   f bin ncmpbin/ttype=/usr/ncmp/bin/ttype 0755 root other
   !default 755 root bin

Next topic: compver
Previous topic: -1

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003