/[gentoo-x86]/eclass/kde-base.eclass
Gentoo

Diff of /eclass/kde-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.18
1# Copyright 1999-2000 Gentoo Technologies, Inc. 1# Copyright 1999-2000 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License v2
3# Author Dan Armak <danarmak@gentoo.org> 3# Author Dan Armak <danarmak@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/kde-base.eclass,v 1.2 2001/09/28 19:30:09 danarmak Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/kde-base.eclass,v 1.18 2002/10/25 19:57:51 vapier Exp $
5# This is the kde ebuild for >=2.2.1 kde base packages. Don't use for kdelibs though :-) 5# This is the kde ebuild for std. kde-dependant apps which follow configure/make/make install
6. /usr/portage/eclass/inherit.eclass || die 6# procedures and have std. configure options.
7inherit base c autoconf || die 7
8inherit kde
8ECLASS=kde 9ECLASS=kde-base
10INHERITED="$INHERITED $ECLASS"
11
12newdepend /c
9 13
10DESCRIPTION="Based on the $ECLASS eclass" 14DESCRIPTION="Based on the $ECLASS eclass"
11HOMEPAGE="http://www.kde.org/" 15HOMEPAGE="http://apps.kde.com/"
12
13DEPEND="${DEPEND} ( kde-base/kdelibs-${PV} ) dev-util/objprelink >=x11-libs/qt-x11-2.3.0"
14#RDEPEND="${RDEPEND} kde-base/kdelibs-${PV} >=x11-libs/qt-x11-2.3.0"
15
16kde_src_compile() {
17
18 while [ "$1" ]; do
19
20 case $1 in
21 myconf)
22 use qtmt && myconf="$myconf --enable-mt"
23 use mitshm && myconf="$myconf --enable-mitshm"
24 use objprelink && myconf="$myconf --enable-objprelink"
25 ;;
26 configure)
27 ./configure --host=${CHOST} --with-x \
28 ${myconf} --with-xinerama || die
29 ;;
30 make)
31 make || die
32 ;;
33 all)
34 kde_src_compile myconf configure make
35 ;;
36 esac
37
38 shift
39 done
40
41}
42
43kde_src_install() {
44
45 while [ "$1" ]; do
46
47 case $1 in
48 make)
49 make install DESTDIR=${D} || die
50 ;;
51 dodoc)
52 dodoc AUTHORS ChangeLog README*
53 ;;
54 all)
55 kde_src_install make dodoc
56 ;;
57 esac
58
59 shift
60 done
61
62}
63 16
64 17
65EXPORT_FUNCTIONS
66 18
67 19
20

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20