[oe-commits] Javier Martinez Canillas : xkeyboard-config: use ${datadir} instead of /usr /share for packaging
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 6 14:22:44 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: c0ebcac02023705aead0d2588224a62d64fe1752
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c0ebcac02023705aead0d2588224a62d64fe1752
Author: Javier Martinez Canillas <javier at dowhile0.org>
Date: Sun Aug 5 21:48:37 2012 +0200
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 at dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../xorg-lib/xkeyboard-config_2.1.bb | 4 ++--
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 b077fa3..1b28208 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
}
More information about the Openembedded-commits
mailing list