/[gentoo-x86]/x11-wm/fluxbox/fluxbox-0.9.8.ebuild
Gentoo

Contents of /x11-wm/fluxbox/fluxbox-0.9.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Feb 6 15:59:53 2004 UTC (14 years, 7 months ago) by ciaranm
Branch: MAIN
Changes since 1.4: +2 -2 lines
stable on x86 and sparc

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.9.8.ebuild,v 1.4 2004/01/27 12:52:51 taviso Exp $
4
5 IUSE="nls xinerama truetype kde gnome"
6
7 DESCRIPTION="Fluxbox is a lightweight windowmanager for X featuring tabs."
8 SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.gz"
9 HOMEPAGE="http://www.fluxbox.org"
10
11 # Please note that USE="kde gnome" simply adds support for
12 # the respective protocols, and does not depend on external libraries.
13 DEPEND=">=sys-devel/autoconf-2.52
14 ${RDEPEND}"
15 RDEPEND="virtual/x11
16 truetype? ( media-libs/freetype )
17 nls? ( sys-devel/gettext )"
18 PROVIDE="virtual/blackbox"
19
20 SLOT="0"
21 LICENSE="as-is"
22 KEYWORDS="x86 ~ppc sparc ~amd64 ~alpha"
23
24 src_compile() {
25 econf \
26 `use_enable nls` \
27 `use_enable xinerama` \
28 `use_enable truetype xft` \
29 `use_enable kde` \
30 `use_enable gnome` \
31 --sysconfdir=/etc/X11/${PN} \
32 ${myconf} || die "configure failed"
33
34 emake || die "make failed"
35 }
36
37 src_install() {
38 dodir /usr/share/fluxbox
39 make DESTDIR=${D} install || die "make install failed"
40 dodoc README* AUTHORS TODO* COPYING
41
42 dodir /etc/X11/Sessions
43 echo "/usr/bin/startfluxbox" > ${D}/etc/X11/Sessions/fluxbox
44 fperms a+x /etc/X11/Sessions/fluxbox
45 }
46
47 pkg_postinst() {
48 ewarn
49 ewarn "Please note that this release no longer uses commonbox.eclass"
50 ewarn "and now installs data files in /usr/share/fluxbox."
51 ewarn
52 einfo "This ebuild now creates an /etc/X11/Sessions entry."
53 einfo
54 }
55

  ViewVC Help
Powered by ViewVC 1.1.20