diff options
Diffstat (limited to 'x11-wm/xfce/xfce-3.8.11-r3.ebuild')
-rw-r--r-- | x11-wm/xfce/xfce-3.8.11-r3.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-wm/xfce/xfce-3.8.11-r3.ebuild b/x11-wm/xfce/xfce-3.8.11-r3.ebuild new file mode 100644 index 000000000000..e4b6d6d59d67 --- /dev/null +++ b/x11-wm/xfce/xfce-3.8.11-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ben Lutgens <ben@sistina.com> +# $Header: /var/cvsroot/gentoo-x86/x11-wm/xfce/xfce-3.8.11-r3.ebuild,v 1.1 2002/03/18 04:59:03 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="XFce is a lightweight desktop environment for various UNIX systems." +SRC_URI="http://prdownloads.sourceforge.net/xfce/${P}.tar.gz" +HOMEPAGE="http://www.xfce.org/" + +DEPEND="virtual/x11 + >=x11-libs/gtk+-1.2.10-r4 + gnome? ( >=media-libs/gdk-pixbuf-0.11.0-r1 ) + nls? ( sys-devel/gettext )" + + use gnome || DEPEND="${DEPEND} >=media-libs/imlib-1.9.10-r1" + +src_compile() { + cd ${S} + local myconf + + if [ "`use gnome`" ] + then + myconf="--enable-imlib=no --enable-gdk-pixbuf=/usr" + myconf="${myconf} --enable-gdm" + fi + + use nls || myconf="${myconf} --disable-nls" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-data-dir=/usr/share/xfce \ + --with-conf-dir=/etc/xfce \ + --enable-xft \ + --with-locale-dir=/usr/share/locale \ + ${myconf} || die + + cd docs/ + cp Makefile Makefile.orig + cat Makefile.orig | sed "s:/usr/share/xfce:/usr/share/doc/${PF}:" > Makefile + cd .. + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + dodoc ChangeLog* AUTHORS README* TODO* + dodir /etc/skel/.xfce + + exeinto /etc/X11/Sessions + doexe $FILESDIR/xfce +} |