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

Contents of /eclass/kde-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 28 19:30:09 2001 UTC (18 years, 10 months ago) by danarmak
Branch: MAIN
Changes since 1.1: +2 -2 lines
fixes

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Dan Armak <danarmak@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/eclass/kde-base.eclass,v 1.1 2001/09/28 19:25:33 danarmak Exp $
5 # This is the kde ebuild for >=2.2.1 kde base packages. Don't use for kdelibs though :-)
6 . /usr/portage/eclass/inherit.eclass || die
7 inherit base c autoconf || die
8 ECLASS=kde
9
10 DESCRIPTION="Based on the $ECLASS eclass"
11 HOMEPAGE="http://www.kde.org/"
12
13 DEPEND="${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
16 kde_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
43 kde_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
64
65 EXPORT_FUNCTIONS
66
67

  ViewVC Help
Powered by ViewVC 1.1.20