Bashrc Configurationbashrc locations
If a bashrc file is located at /etc/portage/bashrc
then it will be sourced before an ebuild is executed.
Ebuild Phase Hooks
A phase hook function name begins with a pre_ or post_
prefix to indicate that it will be called before or after
one of the ebuild phases.
The prefix is followed by the name of the ebuild function that the hook
will be associated with. For example, a hook named pre_src_compile
will be called before src_compile, and a hook named post_src_compile
will be called after src_compile.