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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat May 14 02:46:34 2005 UTC (13 years, 2 months ago) by ciaranm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Tidy up
(Portage version: 2.0.51.21-r1 goat on a rope edition)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.9.8-r1.ebuild,v 1.5 2005/01/02 18:21:50 hansmi 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="MIT"
22 KEYWORDS="x86 ppc sparc amd64 alpha hppa ia64 mips"
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 /usr/share/xsessions
43 insinto /usr/share/xsessions
44 doins ${FILESDIR}/${PN}.desktop
45
46 dodir /etc/X11/Sessions
47 echo "/usr/bin/startfluxbox" > ${D}/etc/X11/Sessions/fluxbox
48 fperms a+x /etc/X11/Sessions/fluxbox
49 }
50
51 pkg_postinst() {
52 ewarn
53 ewarn "Please note that this release no longer uses commonbox.eclass"
54 ewarn "and now installs data files in /usr/share/fluxbox."
55 ewarn
56 einfo "This ebuild now creates an /etc/X11/Sessions entry."
57 einfo
58 }
59

  ViewVC Help
Powered by ViewVC 1.1.20