summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-27 10:52:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-27 10:52:04 +0000
commitc456074aa36fbdcb080ebcdaf5780c28ac925a57 (patch)
tree188d38d0ee4279cb751b9636347a7cede961e34c /eclass/kde-meta.eclass
parentAdd a patch to fix security bug #138125. Also use autotools.eclass to reconfi... (diff)
downloadgentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.tar.gz
gentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.tar.bz2
gentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.zip
Don't extract the whole tarball when using meta, run unpack only if the source directory is missing. Tweak a bit the message to be similar to the one used by portage.
Diffstat (limited to 'eclass/kde-meta.eclass')
-rw-r--r--eclass/kde-meta.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index f8686f6a5acd..925ef26f9169 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.76 2006/06/11 12:57:07 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.77 2006/06/27 10:52:04 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
# Simone Gotti <motaboy@gentoo.org>
@@ -330,10 +330,12 @@ function kde-meta_src_unpack() {
fi
cd $WORKDIR
- echo ">>> Extracting from tarball..."
+ echo ">>> Unpacking parts of ${TARBALL} to ${WORKDIR}"
# Note that KMTARPARAMS is also used by an ebuild
tar -xpf $TARFILE $KMTARPARAMS $extractlist 2> /dev/null
+ unpack ${A/${TARBALL}/}
+
# Avoid syncing if possible
# No idea what the above comment means...
if [[ -n "$RAWTARBALL" ]]; then