Magellan Linux

Contents of /trunk/core/xkeyboard-config/xkeyboard-config-1.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 610 - (show annotations) (download)
Thu Dec 25 22:33:32 2008 UTC (15 years, 5 months ago) by niro
File size: 1371 byte(s)
-ver bump to 1.4-r1
1 # $Header: /magellan-cvs/smage/xkeyboard-config/xkeyboard-config-1.3-r1.smage2,v 1.1 2008/06/13 18:15:39 niro Exp $
2
3 PNAME="xkeyboard-config"
4 PVER="1.4"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-misc"
8 STATE="unstable"
9
10 DESCRIPTION="X Keyboard Configuration Database."
11 HOMEPAGE="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
12
13 sminclude xorg mtools
14
15 DEPEND=">= x11-apps/xkbcomp-1"
16 SDEPEND=">= dev-perl/xml-parser-2.36"
17
18 SRC_URI=(
19 http://xlibs.freedesktop.org/xkbdesc/${SRCFILE}
20 mirror://${PNAME}/${SRCFILE}
21 )
22
23 UP2DATE="updatecmd http://xlibs.freedesktop.org/xkbdesc/ | grep ${PNAME}- | lasttarball"
24
25 src_compile()
26 {
27 cd ${SRCDIR}
28
29 mconfigure \
30 --with-xkb-base=/usr/share/X11/xkb \
31 --enable-compat-rules \
32 --disable-xkbcomp-symlink \
33 --with-xkb-rules-symlink=xorg \
34 || die
35
36 mmake || die
37 }
38
39 src_install()
40 {
41 cd ${SRCDIR}
42 mmake DESTDIR=${BINDIR} install || die
43 }
44
45 preinstall()
46 {
47 if [[ -n $(magequery -n xkbdata) ]]
48 then
49 echo "Please uninstall 'x11-misc/xkbdata' first."
50 die "xkbdata found"
51 fi
52
53 # remove some stale directories, or things screw up
54 local DIR="${MROOT}/usr/$(mlibdir)/X11/xkb"
55 if [[ -d ${DIR} ]]
56 then
57 echo "Please remove the directory '${DIR}' first."
58 die "'${DIR}' found"
59 fi
60
61 local PC="${MROOT}/usr/share/X11/xkb/symbols/pc"
62 if [[ -d ${PC} ]]
63 then
64 echo "Please remove the directory '${PC}' first."
65 die "'${PC}' found"
66 fi
67 }

Properties

Name Value
svn:keywords Id