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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Dec 28 16:35:27 2004 UTC (13 years ago) by ciaranm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
x86, sparc, mips stable 0.9.11, clean out old versions

1 # Copyright 1999-2004 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.10-r1.ebuild,v 1.5 2004/10/23 05:39:52 mr_bones_ Exp $
4
5 inherit eutils
6
7 IUSE="nls xinerama truetype kde gnome"
8
9 DESCRIPTION="Fluxbox is a lightweight windowmanager for X featuring tabs."
10 SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.bz2"
11 HOMEPAGE="http://www.fluxbox.org"
12
13 # Please note that USE="kde gnome" simply adds support for the respective
14 # protocols, and does not depend on external libraries. They do, however,
15 # make the binary a fair bit bigger, so we don't want to turn them on unless
16 # the user actually wants them.
17
18 RDEPEND="virtual/x11
19 truetype? ( media-libs/freetype )
20 nls? ( sys-devel/gettext )"
21 DEPEND=">=sys-devel/autoconf-2.52
22 ${RDEPEND}"
23 PROVIDE="virtual/blackbox"
24
25 SLOT="0"
26 LICENSE="MIT"
27 KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~hppa ~ia64 ~mips ~ppc64 ~ppc-macos"
28
29 src_unpack() {
30 unpack ${A}
31 cd ${S}
32 # Fix crashy badness on amd64. Upstream sanctioned this, so we'll
33 # apply it to everyone...
34 epatch ${FILESDIR}/${PV}/${PN}-${PV}-amd64-font-fix.patch
35 }
36
37 src_compile() {
38 export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig
39 econf \
40 `use_enable nls` \
41 `use_enable xinerama` \
42 `use_enable truetype xft` \
43 `use_enable kde` \
44 `use_enable gnome` \
45 --sysconfdir=/etc/X11/${PN} \
46 ${myconf} || die "configure failed"
47
48 emake || die "make failed"
49 }
50
51 src_install() {
52 dodir /usr/share/fluxbox
53 make DESTDIR=${D} install || die "make install failed"
54 dodoc README* AUTHORS TODO* COPYING
55
56 dodir /usr/share/xsessions
57 insinto /usr/share/xsessions
58 doins ${FILESDIR}/${PN}.desktop
59
60 dodir /etc/X11/Sessions
61 echo "/usr/bin/startfluxbox" > ${D}/etc/X11/Sessions/fluxbox
62 fperms a+x /etc/X11/Sessions/fluxbox
63 }
64

  ViewVC Help
Powered by ViewVC 1.1.20