Magellan Linux

Contents of /trunk/extras/kde-env/kde-env-3.5.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3718 - (show annotations) (download)
Sat Oct 31 10:23:50 2009 UTC (14 years, 6 months ago) by niro
File size: 1298 byte(s)
-rev bump to 3.5.10-r3
1 # $Id$
2
3 PNAME="kde-env"
4 PVER="3.5.10"
5 PBUILD="r3"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 DESCRIPTION="KDE environment and pathes config."
11 HOMEPAGE="http://www.magellan-linux.net"
12
13 DEPEND=""
14
15 SRCFILE=""
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 # include global kde3 functions
19 sminclude kde3
20
21 # fake
22 src_prepare() { return 0; }
23 src_compile() { return 0; }
24
25 src_install()
26 {
27 install -d ${SRCDIR} || die
28 cd ${SRCDIR}
29
30 # needed directories
31 install -d ${BINDIR}/etc/env.d || die
32
33 echo "KDEDIRS=\"${KDEDIR}\"" > ${BINDIR}/etc/env.d/49kde || die
34 echo "CONFIG_PROTECT=\"${KDEDIR}/share/config\"" >> ${BINDIR}/etc/env.d/49kde || die
35
36 # this one fixes a small glitch of config protect
37 # directories with the same name in the beginning as a one in CONFIG_PROTECT
38 # are assumed as protected. but etc-update never walks along these directories
39 # and many ._cfg00xx files get installed.
40 echo '# Do not remove this line, it fixes a config_protect bug' >> ${BINDIR}/etc/env.d/49kde || die
41 echo "CONFIG_PROTECT_MASK=\"${KDEDIR}/share/config.kcfg\"" >> ${BINDIR}/etc/env.d/49kde || die
42
43 echo 'KDE_MALLOC=1' >> ${BINDIR}/etc/env.d/49kde || die
44
45 echo '# Enable this line if your KDE is prelinked.' >> ${BINDIR}/etc/env.d/49kde || die
46 echo '# KDE_IS_PRELINKED=true' >> ${BINDIR}/etc/env.d/49kde || die
47 }

Properties

Name Value
svn:keywords Id