Application Packaging Developer's Guide

Task Map: The Process of Building a Package

Table 2-1 describes a process for you to follow when building packages, especially if you are inexperienced at building them. Although it is not mandatory for you to complete the first four tasks in the exact order listed, it will make your package building experience easier if you do. Once you are an experienced package designer, you can shuffle the sequence of these tasks to your preference.

As an experienced package designer, you can automate the package building process using the make command and makefiles. For more information see the make(1S) man page and the Programming Utilities Guide.

Table 2-1 Task Map: The Process of Building a Package
 

Task 

 

Description 

 

For Instructions, Go To 

 

Create a pkginfo File

 

You must create the pkginfo file to describe the characteristics of your package.

 

"How to Create a pkginfo File"

 
        
 

Organize Package Contents 

 

You should arrange your package components into a hierarchical directory structure. 

 

"Organizing a Package's Contents"

 
          
 

Create Information Files 

 

Optional. Define package dependencies, include a copyright message, and reserve additional space on a target system. 

 

Chapter 3, Enhancing the Functionality of a Package

 
          
 

Create Installation Scripts 

 

Optional. Customize the installation and removal processes of a package. 

 

Chapter 3, Enhancing the Functionality of a Package

 
          
 

Create a prototype File

 

Describe each object in your package in a prototype file.

 

"Creating a prototype File"

 
          
 

Build the Package 

 

Build your package using the pkgmk command.

 

"Building a Package"

 
          
 

Verify and Transfer the Package 

 

Verify the integrity of a package before copying it to a distribution medium. 

 

Chapter 4, Verifying and Transferring a Package