summaryrefslogtreecommitdiff
path: root/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb')
-rw-r--r--recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
new file mode 100644
index 0000000000..9667c479f6
--- /dev/null
+++ b/recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "Common X11 scripts"
+LICENSE = "GPL"
+SECTION = "x11"
+PR = "r34"
+
+SRC_URI = "\
+ file://Xdefaults \
+ file://Xinit \
+ file://Xserver \
+ file://Xsession \
+ \
+ file://30xTs_Calibrate \
+ file://60xXDefaults \
+ file://90xXWindowManager \
+ "
+S = "${WORKDIR}"
+
+etcFiles = "\
+ Xdefaults \
+ Xinit \
+ Xserver \
+ Xsession \
+ "
+sessionFiles = "\
+ 30xTs_Calibrate \
+ 60xXDefaults \
+ 90xXWindowManager \
+ "
+
+do_install() {
+ install -d ${D}/${sysconfdir}/X11/Xsession.d
+ for i in ${etcFiles}; do
+ install -m 0755 ${WORKDIR}/$i ${D}/${sysconfdir}/X11/
+ done
+ for i in ${sessionFiles}; do
+ install -m 0755 ${WORKDIR}/$i ${D}/${sysconfdir}/X11/Xsession.d/
+ done
+}
+
+PACKAGE_ARCH = "all"
+RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit"