summaryrefslogtreecommitdiff
blob: b94b1834d6cc6b5f822d11b02f5f31619b5ef9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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.7.ebuild,v 1.4 2001/08/31 03:23:39 pm Exp $
 
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="XFce is a lightweight desktop environment for various UNIX systems."
SRC_URI="http://prdownloads.sourceforge.net/xfce/${A}"
HOMEPAGE="http://www.xfce.org/"

DEPEND="virtual/x11
        >=x11-libs/gtk+-1.2
	gnome? ( >=media-libs/gdk-pixbuf-0.10 )"

if [ -z "`use gnome`" ]
then
    DEPEND="${DEPEND} >=media-libs/imlib-1.9.10"
fi

src_compile() {
    local myconf
    if [ "`use gnome`" ]
    then
	myconf="--enable-imlib=no --enable-gdk-pixbuf=/opt/gnome"
    fi
    try ./configure --prefix=/usr/X11R6 --mandir=/usr/X11R6/share/man --host=${CHOST} \
	--with-data-dir=/usr/X11R6/share/xfce --with-conf-dir=/etc/X11/xfce \
	--with-locale-dir=/usr/X11R6/share/locale ${myconf}
    try make
}

src_install () {
    try make DESTDIR=${D} install
    dodoc ChangeLog* AUTHORS LICENSE README* TODO*
    exeinto /usr/X11R6/bin/wm
    doexe ${FILESDIR}/xfce
    dodir /etc/skel/.xfce
}