Qt API | Qtopia API | Qtopia Documentation | ![]() |
Packages for Qtopia devices should be distributed in IPKG format.
Packages for Linux/X11 desktop systems (i.e. development systems) should be distributed in RPM format.
Both of these formats are supported by the mkipks program which is part of the Qtopia SDK. This program takes a control file and produces either an IPKG file or an RPM file. Sample control files are included in the Qtopia SDK, such as example.control.
The control file has the following form:
Files: bin/foo apps/Applications/foo.desktop etc/foo.dat Priority: optional Section: qpe/applications Maintainer: Your Name <you@yourdomain.com> Version: 1.2.3-1 Depends: qpe-base Description: Very brief description. A much longer multi-line description.
The following fields are supported:
Other IPKG fields are passed through unchanged to the the control file within the resulting .ipk file. See the documentation of the ipkg program for more information.
For IPKG format, you may also have files with the same name as the control file, but with the .control suffix replaced by one of the following:
Suffix | Notes |
---|---|
.preinst | This script will execute before files are moved into place at installation. |
.postinst | This script will execute after files are moved into place at
installation. Common uses of this script are:
|
.prerm | This script will execute before files are removed at de-installation. |
.postrm | This script will execute after files are removed at
de-installation. Common uses of this script are:
|
Copyright © 2001-2002 Trolltech | Trademarks | Qtopia version 1.7.1
|