summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-05-11 19:16:59 +0000
committerDan Armak <danarmak@gentoo.org>2003-05-11 19:16:59 +0000
commit92e4b023d0869307646f625b78f5ec1641c95609 (patch)
treeaab607bcc415a624516e10345ce3932ecb1357d3 /eclass/kde-functions.eclass
parentcleanup (diff)
downloadhistorical-92e4b023d0869307646f625b78f5ec1641c95609.tar.gz
historical-92e4b023d0869307646f625b78f5ec1641c95609.tar.bz2
historical-92e4b023d0869307646f625b78f5ec1641c95609.zip
remove get_free_mem(), get_param() functions because nothing uses them anymore. also add kdelibs-apidocs to the list of kdebase ebuilds since it needs the right DESTDIR etc.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r--eclass/kde-functions.eclass25
1 files changed, 2 insertions, 23 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 3348668159fb..6c3321a304dd 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.55 2003/04/27 13:49:00 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.56 2003/05/11 19:16:59 danarmak Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -386,29 +386,8 @@ kde_remove_dir(){
}
-# return the $1th parameter, starting from $2
-get_param() {
-
- num=$1
-
- for x in `seq $num`; do shift; done
- echo "$1"
-
-}
-
-# return total amount of free memory (ram+swap) assuming /proc/meminfo exists and is readable
-get_free_mem() {
-
- free_ram=`get_param 2 \`grep MemFree /proc/meminfo\``
- free_swap=`get_param 2 \`grep SwapFree /proc/meminfo\``
- declare -i total
- total=$free_ram+$free_swap
- echo $total
-
-}
-
# is this a kde-base ebuid?
-case $PN in kde-i18n*|arts|kdeaddons|kdeadmin|kdeartwork|kdebase|kdebindings|kdeedu|kdegames|kdegraphics|kdelibs|kdemultimedia|kdenetwork|kdepim|kdesdk|kdetoys|kdeutils)
+case $PN in kde-i18n*|arts|kdeaddons|kdeadmin|kdeartwork|kdebase|kdebindings|kdeedu|kdegames|kdegraphics|kdelibs|kdemultimedia|kdenetwork|kdepim|kdesdk|kdetoys|kdeutils|kdelibs-apidocs)
debug-print "$ECLASS: KDEBASE ebuild recognized"
export KDEBASE="true"
;;