Packaging

From iPhone Development Wiki
Revision as of 22:44, 17 September 2014 by Uroboro (talk | contribs) (DEBIAN folder section and Other files subsection.)

Packaging is the step prior to sharing or releasing a tweak/application/tool/library/theme. Here you put all your project files into a single nicely wrapped file that others can install on their devices.

Tools

To do: add existing tools, on which platforms they are available, how to use them.

DEBIAN folder

Control file

To do: add layout of fields, what do they mean, how they are used. Refer to saurik's post and links at the bottom.

If you need to list dependencies or conflicting packages, Debian's packaging manual may be useful (because Cydia packaging is based on Debian packaging): Syntax of relationship fields, Dependencies, Conflicts -- or if you're submitting this package to a default repository, you can just ask your repository maintainer for help with this.

Other files

To do: add information about preinst, postinst, extrainst_, prerm, postrm files. Consider paste for base explanation/example. Explain how it fits into the debian packaging (how it interacts with apt/aptitude/dpkg/Cydia).

Troubleshooting

dpkg-deb