aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 07:08:52 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 07:08:52 +0500
commit0856cd9540a57e9af56ccc6f456b00d50db7f3bb (patch)
treeaad3496c049a40d082cc8fdd39624bc2717a51fe /eclass
parentR-packages.eclass: deprecate src_unpack (diff)
downloadguru-0856cd9540a57e9af56ccc6f456b00d50db7f3bb.tar.gz
guru-0856cd9540a57e9af56ccc6f456b00d50db7f3bb.tar.bz2
guru-0856cd9540a57e9af56ccc6f456b00d50db7f3bb.zip
R-packages.eclass: create ${T}/R in src_configure
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/R-packages.eclass12
1 files changed, 7 insertions, 5 deletions
diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass
index 2f1ad3368..d701a9e5e 100644
--- a/eclass/R-packages.eclass
+++ b/eclass/R-packages.eclass
@@ -89,17 +89,19 @@ R-packages_src_unpack() {
# @FUNCTION: R-packages_src_prepare
# @DESCRIPTION:
-# function to remove unwanted files from the sources
+# Remove unwanted files from the sources.
R-packages_src_prepare() {
+ default_src_prepare
+
rm -f LICENSE || die
- default
- mkdir -p "${T}/R" || die
}
# @FUNCTION: R-packages_src_configure
# @DESCRIPTION:
-# dummy function to disable configure
-R-packages_src_configure() { :; }
+# Set up temporary directories.
+R-packages_src_configure() {
+ mkdir "${T}"/R || die
+}
# @FUNCTION: R-packages_src_compile
# @DESCRIPTION: