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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Mar 7 23:35:54 2004 UTC (13 years, 7 months ago) by tseng
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove some cruft

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/fluxbox/fluxbox-0.9.6.ebuild,v 1.6 2003/12/20 01:52:38 tseng Exp $
4
5 IUSE="gnome kde nls xinerama truetype"
6
7 #inherit flag-o-matic eutils
8
9 DESCRIPTION="Fluxbox is yet another windowmanager for X. It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors, window placement and similar thing exactly like blackbox (100% theme/style compability). So what's the difference between fluxbox and blackbox then? The answer is: LOTS! *This is a development release and should not be considered stable.* *This release includes the Blueflux style.*"
10 SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.gz
11 http://koti.mbnet.fi/bionik/blueflux/blueflux_0.1.0.tar.gz"
12 HOMEPAGE="http://www.fluxbox.org/"
13
14 SLOT="0"
15 LICENSE="as-is"
16 KEYWORDS="~x86 ppc ~mips ~sparc ~alpha ~amd64"
17
18 DEPEND="virtual/x11
19 >=sys-devel/autoconf-2.52"
20 RDEPEND="x11-misc/commonbox-utils
21 x11-themes/commonbox-styles"
22 PROVIDE="virtual/blackbox"
23
24 mydoc="ChangeLog COPYING NEWS"
25
26 src_unpack() {
27
28 unpack ${A}
29 cd ${S}
30
31 use nls && ( \
32 einfo "Redirecting NLS"
33 for i in `find ${S} -name 'Makefile.am'`
34 do
35 sed -i -e 's:$(pkgdatadir)/nls:/usr/share/locale:' ${i}
36 done
37 )
38
39 sed -i -e 's:bsetroot.1::' ${S}/doc/Makefile.am
40 sed -i -e 's:bsetroot::' ${S}/util/Makefile.*
41 }
42
43
44 src_compile() {
45
46 econf \
47 `use_enable nls` \
48 `use_enable kde` \
49 `use_enable gnome` \
50 `use_enable xinerama` \
51 `use_enable truetype xft` \
52 --sysconfdir=/etc/X11/${PN} \
53 --datadir=/usr/share/commonbox \
54 ${myconf} || die
55
56 sed -i -e 's:\$(datadir)/fluxbox:/usr/share/commonbox:' ${S}/Makefile
57 sed -i -e 's:\$(datadir)/fluxbox:/usr/share/commonbox:' ${S}/data/Makefile
58
59 emake \
60 pkgdatadir=/usr/share/commonbox || die
61
62 cd data make \
63 pkgdatadir=/usr/share/commonbox init
64 }
65
66 src_install() {
67
68 dodir /usr/share/commonbox/${PN}
69 dodir /usr/share/commonbox/styles
70 make DESTDIR=${D} install || die
71 dodoc README* AUTHORS TODO* ${mydoc}
72 rmdir ${D}/usr/share/${PN}
73 dodir /etc/X11/Sessions
74 echo "/usr/bin/${PN}" > ${D}/etc/X11/Sessions/${PN}
75 fperms a+x /etc/X11/Sessions/${PN}
76
77 cd data
78 insinto /usr/share/commonbox
79 doins init keys
80 insinto /usr/share/commonbox/styles
81 doins ${D}/usr/share/commonbox/fluxbox/styles/Meta
82 rm -rf ${D}/usr/share/commonbox/fluxbox
83
84 # blueflux style
85 insinto /usr/share/commonbox/pixmaps
86 doins ${WORKDIR}/pixmaps/*
87 # fix some paths and change b->B at the same time
88 sed -e 's:\.fluxbox:/usr/share/commonbox:' ${WORKDIR}/styles/blueflux \
89 > ${WORKDIR}/styles/Blueflux
90 insinto /usr/share/commonbox/styles
91 doins ${WORKDIR}/styles/Blueflux
92 }

  ViewVC Help
Powered by ViewVC 1.1.20