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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Sep 26 03:15:27 2003 UTC (14 years, 7 months ago) by tseng
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
bump and cleanups

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

  ViewVC Help
Powered by ViewVC 1.1.20