summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-24 01:46:32 +0200
committerUlrich Müller <ulm@gentoo.org>2018-03-31 17:30:43 +0200
commit9de7fc5dd27ea69ba8fab9b199ab78df0a4a158c (patch)
tree631239c0c4d455a303d653b68a1a100f833748fb
parentEAPI 7 drops --host-root in favor of -b, -d, and -r (diff)
downloadpms-9de7fc5dd27ea69ba8fab9b199ab78df0a4a158c.tar.gz
pms-9de7fc5dd27ea69ba8fab9b199ab78df0a4a158c.tar.bz2
pms-9de7fc5dd27ea69ba8fab9b199ab78df0a4a158c.zip
dependencies: Provide a nice summary table for dep APIs
-rw-r--r--dependencies.tex18
1 files changed, 17 insertions, 1 deletions
diff --git a/dependencies.tex b/dependencies.tex
index 40bfae6..2795ea1 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -26,6 +26,21 @@
\end{tabular}
\end{centertable}
+\begin{centertable}{Summary of other interfaces related to dependency classes}
+ \label{tab:dep-class-api}
+ \begin{tabular}{llll}
+ \toprule
+ & \t{BDEPEND} & \t{DEPEND} & \t{RDEPEND}, \t{PDEPEND} \\
+ \midrule
+ Binary compatible with & \t{CBUILD} & \t{CHOST} & \t{CHOST} \\
+ Base unprefixed path & \t{/} & \t{\$\{SYSROOT\}} & \t{\$\{ROOT\}} \\
+ Relevant offset-prefix & \t{\$\{BROOT\}} & \t{\$\{EPREFIX\}} & \t{\$\{EPREFIX\}} \\
+ Path combined with prefix & \t{\$\{BROOT\}} & \t{\$\{ESYSROOT\}} & \t{\$\{EROOT\}} \\
+ PM query command option & \t{-b} & \t{-d} & \t{-r} \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
There are three classes of dependencies supported by ebuilds:
\begin{compactitem}
@@ -65,7 +80,8 @@ as supporting \t{BDEPEND}, the build dependencies are split into two subclasses:
\end{centertable}
Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before
-a particular phase function is executed.
+a particular phase function is executed. Table~\ref{tab:dep-class-api} summarises additional
+interfaces related to the dependency classes.
In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE} and
\t{REQUIRED_USE} use dependency-style specifications to specify their values.