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

Contents of /x11-wm/xfce/xfce-3.8.18-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 30 23:08:58 2003 UTC (17 years, 4 months ago) by foser
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.4: +4 -3 lines
dep fix

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.18-r2.ebuild,v 1.4 2003/03/23 23:49:09 weeve Exp $
4
5 IUSE="arts gtk gnome nls tcltk"
6
7 S=${WORKDIR}/${P}
8
9 DESCRIPTION="XFce is a lightweight desktop environment for various UNIX systems."
10 SRC_URI="mirror://sourceforge/xfce/${P}.tar.gz"
11 HOMEPAGE="http://www.xfce.org/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="x86 ~ppc ~sparc"
16
17 DEPEND="virtual/x11
18 =x11-libs/gtk+-1.2*
19 dev-util/pkgconfig
20 gnome? ( dev-libs/libxml2 )
21 gtk? ( >=media-libs/gdk-pixbuf-0.11.0-r1 >=media-libs/imlib-1.9.10-r1 )
22 arts? ( kde-base/arts )"
23
24 RDEPEND="nls? ( sys-devel/gettext )
25 tcltk? ( dev-lang/tk )"
26
27 src_compile() {
28 local myconf
29
30 use gtk && myconf="--enable-imlib=no --enable-gdk-pixbuf=/usr"
31
32 use gnome && myconf="${myconf} --enable-gdm --enable-libxml2"
33
34 use nls || myconf="${myconf} --disable-nls"
35
36 use arts && myconf="${myconf} --enable-arts"
37
38 pkg-config xft \
39 && myconf="${myconf} --enable-xft2" \
40 || myconf="${myconf} --enable-xft"
41
42 econf \
43 --enable-taskbar \
44 ${myconf} || die
45
46 cd docs
47 cp Makefile Makefile.orig
48 sed "s:/usr/share/xfce:/usr/share/doc/${PF}:" Makefile.orig > Makefile
49 cd ..
50
51 emake || die
52 }
53
54 src_install () {
55 make DESTDIR=${D} install || die
56 dodir /etc/skel/.xfce
57
58 exeinto /etc/X11/Sessions
59 doexe $FILESDIR/xfce
60
61 dodoc ChangeLog* AUTHORS LICENSE README* TODO*
62 }

  ViewVC Help
Powered by ViewVC 1.1.20