diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-10-01 13:54:38 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-10-01 13:54:38 +0000 |
commit | 975902e589effb2bf5b3355fba521f0d823e0c81 (patch) | |
tree | 28106b6a94705d76ea6cff5c29fc89c13539b206 /eclass/kde.eclass | |
parent | eclasses v3. read the gentoo-dev announcement, and news.txt and howto.* (diff) | |
download | historical-975902e589effb2bf5b3355fba521f0d823e0c81.tar.gz historical-975902e589effb2bf5b3355fba521f0d823e0c81.tar.bz2 historical-975902e589effb2bf5b3355fba521f0d823e0c81.zip |
eclasses v3.1
added debug.eclass and fixed many bugs
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index e464244ca43f..98f2626df4c3 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,9 +1,11 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.8 2001/10/01 11:04:22 danarmak Exp $ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gentoo.org>Xx +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.9 2001/10/01 13:54:38 danarmak Exp $ # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here. -. /usr/portage/eclass/inherit.eclass || die inherit autoconf base || die ECLASS=kde @@ -16,28 +18,28 @@ RDEPEND="$RDEPEND kde-base/kdelibs" kde_src_compile() { - echo "in kde_src_compile, 1st parameter is $1" + debug-print-function kde_src_compile $* [ -z "$1" ] && kde_src_compile all while [ "$1" ]; do case $1 in myconf) - echo "in kde_src_compile, action is myconf" + debug-print-section myconf use qtmt && myconf="$myconf --enable-mt" use objprelink && myconf="$myconf --enable-objprelink" || myconf="$myconf --disable-objprelink" ;; configure) - echo "in kde_src_compile, action is configure" + debug-print-section configure ./configure --host=${CHOST} --with-x \ ${myconf} --with-xinerama || die ;; make) - echo "in kde_src_compile, action is make" + debug-print-section make make || die ;; all) - echo "in kde_src_compile, action is all" + debug-print-section all kde_src_compile myconf configure make ;; esac @@ -49,22 +51,22 @@ kde_src_compile() { kde_src_install() { - echo "in kde-base_src_compile, 1st parameter is $1" + debug-print-function kde_src_install $* [ -z "$1" ] && kde_src_install all while [ "$1" ]; do case $1 in make) - echo "in kde_src_install, action is make" + debug-print-section make make install DESTDIR=${D} || die ;; dodoc) - echo "in kde_src_install, action is dodoc" + debug-print-section dodoc dodoc AUTHORS ChangeLog README* ;; all) - echo "in kde_src_install, action is all" + debug-print-section all kde_src_install make dodoc ;; esac |