The base src_install function. Runs make install and
installs documents and html documents from DOCS and HTML_DOCS
arrays.

base_src_install_docs

Actual function that install documentation from
DOCS and HTML_DOCS arrays.

ECLASS VARIABLES

DOCS

Array containing documents passed to dodoc command.

DOCS=( "${S}/doc/document.txt" "${S}/doc/doc_folder/" )

HTML_DOCS

Array containing documents passed to dohtml command.

HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" )

PATCHES

PATCHES array variable containing all various patches to be applied.
This variable is expected to be defined in global scope of ebuild.
Make sure to specify the full path. This variable is utilised in
src_unpack/src_prepare phase based on EAPI.

NOTE: if using patches folders with special file suffixes you have to
define one additional variable EPATCH_SUFFIX="something"