Contents of /smage/branches/alx-0_9_0/xkeyboard-config/xkeyboard-config-1.3-r1.smage2
Parent Directory | Revision Log
Revision 1271 -
(show annotations)
(download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 1286 byte(s)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 1286 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 | # $Header: /alx-cvs/smage-eglibc/xkeyboard-config/xkeyboard-config-1.3-r1.smage2,v 1.1 2008/06/07 23:20:36 niro Exp $ |
2 | |
3 | PNAME="xkeyboard-config" |
4 | PVER="1.3" |
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 alx |
14 | |
15 | DEPEND=">= x11-apps/xkbcomp-1" |
16 | SDEPEND=">= dev-perl/xml-parser-2.4" |
17 | |
18 | SRC_URI=( |
19 | http://xlibs.freedesktop.org/xkbdesc/${SRCFILE} |
20 | mirror://${PNAME}/${SRCFILE} |
21 | ) |
22 | |
23 | src_compile() |
24 | { |
25 | cd ${SRCDIR} |
26 | |
27 | mconfigure \ |
28 | --with-xkb-base=/usr/share/X11/xkb \ |
29 | --enable-compat-rules \ |
30 | --disable-xkbcomp-symlink \ |
31 | --with-xkb-rules-symlink=xorg \ |
32 | || die |
33 | |
34 | mmake || die |
35 | } |
36 | |
37 | src_install() |
38 | { |
39 | cd ${SRCDIR} |
40 | mmake DESTDIR=${BINDIR} install || die |
41 | } |
42 | |
43 | preinstall() |
44 | { |
45 | if [[ -n $(magequery -n xkbdata) ]] |
46 | then |
47 | echo "Please uninstall 'x11-misc/xkbdata' first." |
48 | die "xkbdata found" |
49 | fi |
50 | |
51 | # remove some stale directories, or things screw up |
52 | local DIR="${MROOT}/usr/$(mlibdir)/X11/xkb" |
53 | if [[ -d ${DIR} ]] |
54 | then |
55 | echo "Please remove the directory '${DIR}' first." |
56 | die "'${DIR}' found" |
57 | fi |
58 | |
59 | local PC="${MROOT}/usr/share/X11/xkb/symbols/pc" |
60 | if [[ -d ${PC} ]] |
61 | then |
62 | echo "Please remove the directory '${PC}' first." |
63 | die "'${PC}' found" |
64 | fi |
65 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |