Magellan Linux

Contents of /smage/branches/branch_0.9.0/fluxbox/fluxbox-1.0.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download)
Sun Jan 11 00:50:17 2009 UTC (15 years, 4 months ago) by niro
File size: 1806 byte(s)
"copied"
1 # $Header: /alx-cvs/smage-eglibc/fluxbox/fluxbox-1.0.0-r2.smage2,v 1.2 2008/03/05 11:42:31 niro Exp $
2
3 PNAME="fluxbox"
4 PVER="1.0.0"
5 PBUILD="r2"
6
7 PCATEGORIE="x11-wm"
8 STATE="unstable"
9
10 DESCRIPTION="fluxbox is yet another windowmanager for X based on blackbox."
11 HOMEPAGE="http://www.fluxbox.org/"
12
13 DEPEND=">= x11-libs/libXpm-1
14 >= x11-libs/libXrandr-1
15 >= x11-libs/libXinerama-1
16 >= x11-libs/libXft-1
17 >= media-libs/freetype-2
18 >= media-libs/imlib2-1.1.2"
19
20 SDEPEND=">= sys-dev/automake-1.7.2
21 >= sys-dev/autoconf-2.57"
22
23 # only for >= xorg-7.0.0
24 sminclude xorg mtools alx
25
26 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
28
29 SRC_URI=(
30 sourceforge://${PNAME}/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # enable antialias by default
40 echo "session.screen0.antialias: true" >> data/init.in || die
41
42 # all styles should use fbsetroot
43 for style in ${SRCDIR}/data/styles/*
44 do
45 [[ -f ${style} ]] || continue
46 sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style}
47 done
48 }
49
50 src_compile()
51 {
52 cd ${SRCDIR}
53
54 mconfigure \
55 --sysconfdir=/etc/X11/${PNAME} \
56 --enable-nls \
57 --enable-imlib2 \
58 --enable-xpm \
59 --enable-kde \
60 --enable-gnome \
61 --enable-xft \
62 --enable-xinerama \
63 --disable-debug \
64 || die
65
66 mmake || die
67 }
68
69 src_install()
70 {
71 cd ${SRCDIR}
72
73 # needed directories
74 minstalldir /usr/share/fluxbox || die
75 minstalldir /usr/share/xsessions || die
76
77 mmake DESTDIR=${BINDIR} install || die
78
79 # create gnome xsession file
80 echo "[Desktop Entry]
81 Encoding=UTF-8
82 Name=Fluxbox
83 Comment=This session logs you into Fluxbox
84 Exec=startfluxbox
85 TryExec=startfluxbox
86 Icon=
87 Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die
88
89 minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die
90 }

Properties

Name Value
svn:keywords Id