Building Solaris Packages
This page has notes related to creating Solaris packages.
Sun has an excellent document - The Application Packaging Developer's Guide : [SunDoc:805-6338]
General example
- install application in ${HOME}/MYapp
- create pkg files in ${HOME}/build
- cd ${HOME} && pkgproto ./MYapp > build/MYapp.proto
- clean up & edit prototype file
- cd ${HOME}/build && pkgmk -b ${HOME} -f MYapp.proto -d ../built
- cd ${HOME}/built && pkgtrans -s . MYapp-version MYapp