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
commitc3c0d6d9acfcbb3d0cd3dbd469fa25f43db02c51 (patch)
treeb8c8d96c02a7ec4ac66fd41ccfa025197fee272e /eclass/kde-meta.eclass
parentAdd a patch to fix security bug #138125. Also use autotools.eclass to reconfi... (diff)
downloadhistorical-c3c0d6d9acfcbb3d0cd3dbd469fa25f43db02c51.tar.gz
historical-c3c0d6d9acfcbb3d0cd3dbd469fa25f43db02c51.tar.bz2
historical-c3c0d6d9acfcbb3d0cd3dbd469fa25f43db02c51.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