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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20