/[gentoo-x86]/x11-wm/xfce/xfce-3.8.16.ebuild
Gentoo

Contents of /x11-wm/xfce/xfce-3.8.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Thu Feb 13 17:55:41 2003 UTC (17 years, 5 months ago) by vapier
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.13: +2 -2 lines
Update Copyright years

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/x11-wm/xfce/xfce-3.8.16.ebuild,v 1.13 2002/12/09 12:04:58 jmorgan Exp $
4
5 IUSE="arts gtk gnome nls"
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="XFce is a lightweight desktop environment for various UNIX systems."
9 SRC_URI="mirror://sourceforge/xfce/${P}.tar.gz"
10 HOMEPAGE="http://www.xfce.org/"
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 sparc"
14
15 DEPEND="virtual/x11
16 =x11-libs/gtk+-1.2*
17 gnome? ( dev-libs/libxml2 )
18 gtk? ( >=media-libs/gdk-pixbuf-0.11.0-r1 >=media-libs/imlib-1.9.10-r1 )
19 arts? ( kde-base/arts )"
20
21 RDEPEND="nls? ( sys-devel/gettext )"
22
23 src_compile() {
24 local myconf
25
26 use gtk && myconf="--enable-imlib=no --enable-gdk-pixbuf=/usr"
27
28 # if [ "`use fooz`" ]
29 if [ "`use gnome`" ]
30 then
31 myconf="${myconf} --enable-gdm"
32 myconf="${myconf} --enable-libxml2"
33 fi
34
35 use nls || myconf="${myconf} --disable-nls"
36 use arts && myconf="${myconf} --enable-arts"
37
38 ./configure --host=${CHOST} \
39 --prefix=/usr \
40 --mandir=/usr/share/man \
41 --with-data-dir=/usr/share/xfce \
42 --with-conf-dir=/etc/xfce \
43 --enable-xft \
44 --with-locale-dir=/usr/share/locale \
45 ${myconf} || die
46
47 cd docs
48 cp Makefile Makefile.orig
49 sed "s:/usr/share/xfce:/usr/share/doc/${PF}:" Makefile.orig > Makefile
50 cd ..
51
52 emake || die
53 }
54
55 src_install () {
56 make DESTDIR=${D} install || die
57 dodoc ChangeLog* AUTHORS LICENSE README* TODO*
58 dodir /etc/skel/.xfce
59
60 exeinto /etc/X11/Sessions
61 doexe $FILESDIR/xfce
62 }

  ViewVC Help
Powered by ViewVC 1.1.20