diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-09-29 14:57:23 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-09-29 14:57:23 +0000 |
commit | 0e6e807f683fcbb05308f51d7f72b01fe3642741 (patch) | |
tree | 02a664e80b0f68cd1d386f69ca8f4065c087e25f /eclass/kde.eclass | |
parent | fix of objprelink use dep (diff) | |
download | gentoo-2-0e6e807f683fcbb05308f51d7f72b01fe3642741.tar.gz gentoo-2-0e6e807f683fcbb05308f51d7f72b01fe3642741.tar.bz2 gentoo-2-0e6e807f683fcbb05308f51d7f72b01fe3642741.zip |
*** empty log message ***
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 0d67785ca296..09f0e94dfd2b 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,15 +1,15 @@ # 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.5 2001/09/29 13:12:52 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.6 2001/09/29 14:57:23 danarmak Exp $ # This is the kde ebuild for std. kde-dependant apps which follow configure/make/make install -# procedures and have std. configure options. +# procedures and have std. configure options. That includes kdevelop, koffice etc. . /usr/portage/eclass/inherit.eclass || die inherit c autoconf base || die ECLASS=kde DESCRIPTION="Based on the $ECLASS eclass" -HOMEPAGE="http://www.kde.org/" +HOMEPAGE="http://apps.kde.org/" DEPEND="${DEPEND} kde-base/kdelibs @@ -21,26 +21,31 @@ RDEPEND="${RDEPEND} kde_src_compile() { + echo "in kde-base_src_compile, 1st parameter is $1" [ -z "$1" ] && kde_src_compile all - + while [ "$1" ]; do - + case $1 in - myconf) - use qtmt && myconf="$myconf --enable-mt" - use mitshm && myconf="$myconf --enable-mitshm" + myconf) + echo "in kde_src_compile, action is myconf" + use qtmt && myconf="$myconf --enable-mt" + use mitshm && myconf="$myconf --enable-mitshm" use objprelink && myconf="$myconf --enable-objprelink" - ;; + ;; configure) - ./configure --host=${CHOST} --with-x \ - ${myconf} --with-xinerama || die - ;; + echo "in kde_src_compile, action is configure" + ./configure --host=${CHOST} --with-x \ + ${myconf} --with-xinerama || die + ;; make) - make || die - ;; - all) - kde_src_compile myconf configure make - ;; + echo "in kde_src_compile, action is make" + make || die + ;; + all) + echo "in kde_src_compile, action is all" + kde_src_compile myconf configure make + ;; esac shift @@ -49,26 +54,30 @@ kde_src_compile() { } kde_src_install() { - + + echo "in kde-base_src_compile, 1st parameter is $1" [ -z "$1" ] && kde_src_install all while [ "$1" ]; do case $1 in make) - make install DESTDIR=${D} || die - ;; + echo "in kde_src_install, action is make" + make install DESTDIR=${D} || die + ;; dodoc) - dodoc AUTHORS ChangeLog README* - ;; + echo "in kde_src_install, action is dodoc" + dodoc AUTHORS ChangeLog README* + ;; all) - kde_src_install make dodoc - ;; + echo "in kde_src_install, action is all" + kde_src_install make dodoc + ;; esac - + shift done - + } |