(DEBIAN folder section and Other files subsection.) |
(linking debian packaging manual for install scripts) |
||
Line 14: | Line 14: | ||
=== Other files === | === Other files === | ||
''To do: add information about preinst, postinst, extrainst_, prerm, postrm files. Consider [https://ghostbin.com/paste/jukek paste] for base explanation/example. Explain how it fits into | ''To do: add information about preinst, postinst, extrainst_, prerm, postrm files. Consider [https://ghostbin.com/paste/jukek paste] for base explanation/example. Explain how it fits into Debian packaging (how it interacts with apt/aptitude/dpkg/Cydia). In the Debian packaging manual: [https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-maintscripts basics] and [https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html more info].'' | ||
== Troubleshooting == | == Troubleshooting == | ||
=== dpkg-deb === | === dpkg-deb === |
Revision as of 09:58, 11 November 2014
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 Debian packaging (how it interacts with apt/aptitude/dpkg/Cydia). In the Debian packaging manual: basics and more info.