summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-lib
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 14:20:18 +0100
commitc0ebcac02023705aead0d2588224a62d64fe1752 (patch)
tree304f4845fd627d40f844cdbb42c43adde1bc82af /meta/recipes-graphics/xorg-lib
parent73ee5587a46751ed39a181b3ff2a12d4a3086c21 (diff)
downloadopenembedded-core-c0ebcac02023705aead0d2588224a62d64fe1752.tar.gz
openembedded-core-c0ebcac02023705aead0d2588224a62d64fe1752.tar.bz2
openembedded-core-c0ebcac02023705aead0d2588224a62d64fe1752.zip
xkeyboard-config: use ${datadir} instead of /usr/share for packaging
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
-rw-r--r--meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
index b077fa3ca6..1b28208f53 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe566392
SECTION = "x11/libs"
DEPENDS = "intltool-native xkbcomp-native glib-2.0"
-PR = "r1"
+PR = "r2"
EXTRA_OECONF = "--with-xkb-rules-symlink=xorg"
@@ -29,6 +29,6 @@ FILES_${PN} += "${datadir}/X11/xkb"
inherit autotools pkgconfig
do_install_append () {
- install -d ${D}/usr/share/X11/xkb/compiled
+ install -d ${D}${datadir}/X11/xkb/compiled
cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
}