The information in this document also applies to the BlueqQuartz 5102R systems.
BlueQuartz PKG Files
Unpacking a package (.pkg) file
To UNPACK
Download the package file to a working directory
move framework.pkg framework.tar.gz
gunzip framework.tar.gz
tar -xf framework.tar
rm framework.tar
This will leave the unpacked package in the working directory, with the following structure
packing_list
RPMS\
scripts\post-install\script
scripts\post-uninstall\script
scripts\pre-install\script
scripts\pre-uninstall\script
The packing list file contains a description of the package, and the list of RPMS that it should install.
The RPMS directory contains the actual RPM files.
The various scripts are triggered as the names imply, pre and post install, and pre and post uninstall and can be used as normal shell scripts.
TO PACK
To create your own package, you can basicaly follow the steps in reverse. Be carefull editing the packing_list document. Most packages that refuse to install with a 'invalid package' failure, do so because you used reserved characters in the fields in this file (eg. using a . in the 'vendor' field will result in such a message)