summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-12-16 17:41:52 -0500
committerAaron Bauman <bman@gentoo.org>2020-12-16 18:13:21 -0500
commitd05f5a83228d529b7cd0d1b585031618f09ac725 (patch)
treea144d2fd382c3ed911a7399697be410bd4c399a7 /eclass
parenteclass/autotools-utils: fixup documentation (diff)
downloadgentoo-d05f5a83228d529b7cd0d1b585031618f09ac725.tar.gz
gentoo-d05f5a83228d529b7cd0d1b585031618f09ac725.tar.bz2
gentoo-d05f5a83228d529b7cd0d1b585031618f09ac725.zip
eclass/base: fixup documentation
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/base.eclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass
index 0f9a2e576b7..4682890b3dc 100644
--- a/eclass/base.eclass
+++ b/eclass/base.eclass
@@ -28,12 +28,22 @@
# @DESCRIPTION:
# The base eclass defines some default functions and variables.
+# @VARIABLE: _BASE_ECLASS
+# @INTERNAL
+# @DESCRIPTION:
+# If null set to 1
+
if [[ -z ${_BASE_ECLASS} ]]; then
_BASE_ECLASS=1
inherit eutils
+# @VARIABLE: BASE_EXPF
+# @DESCRIPTION:
+# Please document me
+
BASE_EXPF="src_unpack src_compile src_install"
+
case "${EAPI:-0}" in
0|1) ;;
2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;;