HOME | SOFTWARE | OSXPM | OSX Package Tools
Local Package Search:
Site Navagation
Browse Packages
Community Forum
Package Search
Package Maintainers
Mirror Listings
Submit Package
Documentation
Contact Info
Bug Tracker
Home and News
OSX Package ToolsOSX Package ToolsOSX Package Tools

OSXGNU PACKAGE TOOLS
mkpkgdir util
dompkg util
The pkgInstall Utility (package Un-Installer)
The gnu2pkg utility

mkpkgdir util

A utility that makes the structure for a meta package and creates the stubs for the Text files for Welcome, ReadMe, and License.

  1. Make the packages you want to include in the meta package. Fill in the package descriptionin the Package maker dialog as this will be used in the custom dialog in the meta package.
  2. In the terminal cd into your Desktop. Type: mkpkgdir the_name_of_the_meta_package do not use the .mpkg extention in the name of your meta package. replace the the_name_of_the_meta_package with the filename of your metapackage without spaces in the name!
  3. Copy all the packages you want to be included in the meta package you made in Step 1. in the Packages directory in the the_name_of_the_meta_package directory.
  4. Edit the Text files in the the_name_of_the_meta_package Valid File Types for these files are RTF RTFD HTML TXT only one of each file can exist you can not have two Welcome.XXX files.

dompkg util

After editing the Text files and placing the packages to build into the meta package in the Packages directory, this script will build and create a working meta package in the same directory as the directory mkpkgdir program made the stubs.

  1. From the terminal cd into the your Desktop. Type: dompkg the_name_of_the_meta_package 'The name of the meta package' Package.version The first paramiter is the same name you gave to mkpkgdir.
    The second paramiter is the readable package title enclosed in " ' " single quotes. The last paramiter is the version of the meta package no spaces in version.
  2. If there is an order to the packages to be installed you must edit the filethe_name_of_the_meta_package.mpkg/the_name_of_the_meta_package.list and place the package names in the order you want.
Scripts Written and Built By: Chris Roberts

The pkgInstall Utility

This Shell Script OSX Packages and will install or UN-Install them.

To use this Script you must use the terminal application or a XTerm.
First how to UN-Install a Package:

  1. Find the name of a package you want to UN-Install un the /Library/Receipts Directory
  2. Open a Terminal and type: sudo pkgInstall --delete packagenametodelete.pkg
  3. As allways the system will ask for your password and then proceed to delete the package and all it's files and the Receipt.
Second how to Install a Package:
  1. Open a Terminal and type: sudo pkgInstall --install packagenametoInstall.pkg
  2. As allways the system will ask for your password and then proceed to Install the package and all it's files and the Receipt.
This simple and Powerful tool was written by Yves Arrouye.

The gnu2pkg utility

This Perl Script uses the Gnu-Darwin Packages and makes them into OSX Package directories so they can be packaged.

To use this Script you must use the terminal application or a XTerm.

  1. Download a .tgz package you want from ftp2.sourceforge.net or ftp3.sourceforge.net
  2. Open a terminal and cd to the directory you downloaded to.
  3. Type the following in the terminal: gnu2pkg (pkgname.tgz) (pkgname)
  4. This will create a directory with the name of the package (pkgname) you gave in the last step. It will also dcompress the file and make two directories "packages" and "resource" inside the (pkgname) directory.
  5. Start the PackageMaker application in the /Developer/Applications directory.
  6. Click "Change Root" and select the (pkgname) folder and the package directory in it click "Open"
  7. Click "Set" and select the (pkgname) folder and the resource directory in it click "Open"
  8. Add a title for the package in the "Package Title" box.
  9. Check "Needs Authorization" check boxClick "Create Package" and give a name for this package usually "pkgname-version.pkg"
  10. Click Continue when done making the package then Quit PackageMaker.
  11. Double Click on the package you just made to install the software.

Project Home: http://www.osxgnu.org/

1 Package(s) found for Project: OSX Package Tools

Valid HTML 4.01!