SUN Packaging Guide -
Roadmap
Roadmap of this guide
Table of contents:
Introduction
• Prerequisites
• Using standard compiler and make
• Using gcc and GNU make
About the pkginfo file
• Syntax of pkginfo file
• Variables
• Required Variables
The prototype file
• Syntax of prototype file
• File Types
• Include options
• Example
Writing installation/procedure scripts
• Types of scripts
• Differences between types
• Global Variables
• The installation scripts
• • The request script
• • The checkinstall script
• The procedure scripts
• • The preinstall script
• • The postinstall script
• • The preremove script
• • The postremove script
Writing class action scripts
• Defining classes
• Default classes
• Possible methods
• • Using system classes
• • The build class
• • The preserve class
• • Creating own classes
Creating a package
• Necessary commands
• Completing the prototype
• • pkgmk
• • pkgchk
• • pkgtrans
• • Testinstallation