Package files reference
From RockWiki
This is a reference list of all automatically detected and used files in a package directory:
- *.patch
Every file matching this will be fed to patch -p1 in the extracted source directory.
- *.patch.<architecture>
Every file matching this where <architecture> is the architecture the package will be built for will be fed to patch -p1 in the extracted source directory.
- *.patch_<xpkg>
Every file matching this where <xpkg> is the current package name according to the Package Forking rules will be fed to patch -p1 in the extracted source directory.
- *.patch_<xpkg>.<architecture>
Every file matching this where <architecture> and <xpkg> is the current package name according to the Package Forking rules is the architecture the package will be built for will be fed to patch -p1 in the extracted source directory.
- *.patch.cross
Every file matching this will be fed to patch -p1 in the extracted source directory if you selected CrossCompiling.
- *.patch.cross.<architecture>
Every file matching this will be fed to patch -p1 in the extracted source directory if you selected CrossCompiling for <architecture>.
- *.patch.<sourcetar>
This is a bit more complicated. If you have a package that downloads multiple sources - for example, foo-1.0.tar.bz2 and bar-2.3.tar.bz2 - you can have patchfiles called hotfix.patch.foo which will be applied to the foo-1.0.tar.bz2 and fixpaths.patch.bar which will be applied to the bar-2.3.tar.bz2 sources. The exact naming convention is: remove everything from a dash followed by a number to the end of the source tar and insert it into *.patch.<sourcetar> instead of <sourcetar>.
- <package>.conf
This file contains extra configuration information for the package.
- <package>.desc
This file contains the basic package information.
- <package>.cache
This file is created automatically and contains information about dependencies, size and how long compiling the package takes.
- *.desktop
These files will be installed into /usr/share/applications. The usual ROCK Substitutions apply.
- postinstall.sh
This file will be installed into /etc/postinstall. See Postinstall scripts for details. The usual ROCK Substitutions apply.
- *.doc
These files will be copied to $docdir and have the .doc removed.
