Magellan Linux

Annotation of /smage/trunk/core/fluxbox/fluxbox-1.1.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (hide annotations) (download)
Tue Apr 27 06:52:17 2010 UTC (14 years, 1 month ago) by niro
File size: 1721 byte(s)
auto added: ver bump to 1.1.1-r2.smage2
1 niro 249 # $Id$
2    
3     PNAME="fluxbox"
4     PVER="1.1.1"
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.4"
19    
20     SDEPEND=">= sys-dev/automake-4
21     >= sys-dev/autoconf-5"
22    
23     SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
24     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
25    
26     sminclude xorg mtools mcore
27    
28     SRC_URI=(
29     sourceforge://${PNAME}/${SRCFILE}
30     mirror://${PNAME}/${SRCFILE}
31     )
32    
33     UP2DATE="updatecmd_sourceforge ${PNAME}"
34    
35     src_prepare()
36     {
37     munpack ${SRCFILE} || die
38     cd ${SRCDIR}
39    
40     # enable antialias by default
41     echo "session.screen0.antialias: true" >> data/init.in || die
42    
43     # all styles should use fbsetroot
44     for style in ${SRCDIR}/data/styles/*
45     do
46     [[ -f ${style} ]] || continue
47     sed -i 's,\([^f]\)bsetroot,\1fbsetroot,' ${style} || die ${style}
48     done
49     }
50    
51     src_compile()
52     {
53     cd ${SRCDIR}
54    
55     mconfigure \
56     --sysconfdir=/etc/X11/${PNAME} \
57     --enable-nls \
58     --enable-imlib2 \
59     --enable-xpm \
60     --enable-kde \
61     --enable-gnome \
62     --enable-xft \
63     --enable-xinerama \
64     --disable-debug \
65     || die
66    
67     mmake || die
68     }
69    
70     src_install()
71     {
72     cd ${SRCDIR}
73    
74     # needed directories
75     minstalldir /usr/share/fluxbox || die
76     minstalldir /usr/share/xsessions || die
77    
78     mmake DESTDIR=${BINDIR} install || die
79    
80     # create gnome xsession file
81     echo "[Desktop Entry]
82     Encoding=UTF-8
83     Name=Fluxbox
84     Comment=This session logs you into Fluxbox
85     Exec=startfluxbox
86     TryExec=startfluxbox
87     Icon=
88     Type=Application" > ${BINDIR}/usr/share/xsessions/fluxbox.desktop || die
89    
90     minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO || die
91     }

Properties

Name Value
svn:keywords Id