Portage keywords used in ebuilds
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
There does not seem to be any index of all the keywords used by portage, in particular within ebuilds. As we wonder about the meaning of such or such keyword, we can build up the index below, with links to the most appropriate documentation.
Another partial list can be found here:
Install Functions Reference https://devmanual.gentoo.org/function-reference/install-functions/index....
In alphabetical order:
CHECKREQS_DISK_BUILD: Ensure we have enough disk space to compile. Typical use in .ebuild file:
# Ensure we have enough disk space to compile
In order to test the space required by a compile, you can use the build environment /etc/portage/env/hack.conf with has
FEATURES="keepwork noclean". Note that the space required to build a package may depend on the USE flags set for the package. Note that
emergeindicates the required space at the end of the build process, e.g.:
* Final size of build directory: 312164 KiB (304.8 MiB)
* Final size of installed tree: 1194532 KiB ( 1.1 GiB)
DEPEND: build dependencies. See: https://devmanual.gentoo.org/general-concepts/dependencies/index.html
DISTDIR: see: http://linux.overshoot.tv/usr/portage/distfiles
mycmakeargs: (I haven't found yet the official documentation for this.) If you get the warning: " Declaring mycmakeargs as a variable is deprecated. Please use an array instead.", use the format as in the following example:
PDEPEND: post-merge dependencies. See: https://devmanual.gentoo.org/general-concepts/dependencies/index.html
RDEPEND: runtime dependencies. See: https://devmanual.gentoo.org/general-concepts/dependencies/index.html