blob: 2dbc72093f45bc191f87247188ff428ba32f8c38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxspace/fluxspace-0.0.3.ebuild,v 1.3 2003/06/12 19:04:18 msterret Exp $
IUSE=""
S=${WORKDIR}/${P}
DESCRIPTION="Enhancements for workspace management within Fluxbox."
SRC_URI="http://www.isomedia.com/homes/stevencooper/files/${P}.tar.gz"
HOMEPAGE="http://www.isomedia.com/homes/stevencooper/"
DEPEND="x11-wm/fluxbox
x11-misc/idesk
app-misc/rox
media-libs/imlib2
dev-lang/python
dev-python/PyXML
dev-lang/swig"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc"
myconf="--prefix=/usr"
src_compile() {
export LDFLAGS="-lstdc++"
econf ${myconf} || die
emake || die
}
src_install () {
einstall || die
dosym /usr/lib/python2.2/site-packages/fluxspace.py /usr/lib/python2.2/site-packages/fluxspace/__init__.py
dosym /usr/lib/libfluxspace.so /usr/lib/python2.2/site-packages/_fluxspace.so
dodoc README COPYING AUTHORS ChangeLog NEWS README TODO
}
pkg_postinst() {
# there is a typo in the xml file, so i'll fix it =)
sed -e "s/no\"\\\/no\"\//g" /usr/share/fluxspace/examples/fluxspace.xml > /tmp/fluxspace.xml
cp -f /tmp/fluxspace.xml /usr/share/fluxspace/examples/fluxspace.xml
rm -f /tmp/fluxspace.xml
einfo " "
einfo " Copy /usr/share/fluxspace/examples/fluxspace.xml to your"
einfo " ~/.fluxbox and edit it!"
einfo " (just to make it work change all the \"no\" to \"yes\")"
einfo " "
einfo " In your ~/.fluxbox/init change:"
einfo " session.screen0.rootCommand:"
einfo " to:"
einfo " session.screen0.rootCommand: fluxspace"
einfo " "
}
|