Magellan Linux

Annotation of /trunk/deprecated/fluxspace/fluxspace-0.0.3-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
Original Path: trunk/extras/fluxspace/fluxspace-0.0.3-r5.smage2
File size: 1937 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/fluxspace/fluxspace-0.0.3-r5.smage2,v 1.5 2007-11-10 14:03:22 niro Exp $
2    
3     PNAME="fluxspace"
4     PVER="0.0.3"
5     PBUILD="r5"
6    
7     PCATEGORIE="x11-misc"
8     STATE="stable"
9    
10     DESCRIPTION="Fluxspace blends Fluxbox's window management with new desktop management capabilities."
11     HOMEPAGE="http://fluxspace.sourceforge.net/"
12    
13     DEPEND=">= x11-wm/fluxbox-0.1.14
14     >= dev-lang/python-2.3
15     >= dev-python/pyxml-0.8.3
16     >= media-libs/imlib2-1.1.0"
17    
18     SDEPEND=">= dev-lang/swig-1.3.21
19     >= sys-apps/sed-4"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.gz"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     SRC_URI=( mirror://${PNAME}/${SRCFILE} )
25    
26     # get python version -> ex 2.4
27     sminclude python mbuild
28    
29     # link against libstc++; required to run with linux
30     export LDFLAGS="-lstdc++"
31    
32     src_install() {
33     cd ${SRCDIR}
34    
35     local PYVER="$(get_python_version)"
36    
37     minstall \
38     pyexecdir='${exec_prefix}'/$(mlibdir)/python${PYVER}/site-packages \
39     pythondir='${prefix}'/$(mlibdir)/python${PYVER}/site-packages || die
40    
41     # needed symlinks
42     ln -snf /usr/$(mlibdir)/python${PYVER}/site-packages/fluxspace.py \
43     ${BINDIR}/usr/$(mlibdir)/python${PYVER}/site-packages/fluxspace/__init__.py || die
44    
45     ln -snf /usr/$(mlibdir)/libfluxspace.so \
46     ${BINDIR}/usr/$(mlibdir)/python${PYVER}/site-packages/_fluxspace.so || die
47    
48     # installs the docs
49     minstalldocs README COPYING AUTHORS ChangeLog NEWS TODO || die
50    
51     # fixes a bad typo in fluxspace.xml
52     sed -i -e "s/no\"\\\/no\"\//g" ${BINDIR}/usr/share/fluxspace/examples/fluxspace.xml || die
53     }
54    
55     postinstall(){
56     echo -e "To use all optinal features of this package,"
57     echo -e "you can install idesk and rox separately."
58     echo
59     echo -e "Setup:"
60     echo -e "Copy /usr/share/fluxspace/examples/fluxspace.xml to"
61     echo -e "~/.fluxbox and edit the file according to your needs."
62     echo
63     echo -e "Enable fluxspace:"
64     echo -e "Edit ~/.fluxbox/init and change 'session.screen0.rootCommand:'"
65     echo -e "to 'session.screen0.rootCommand: fluxspace'"
66     echo
67     }

Properties

Name Value
svn:keywords Id