summaryrefslogtreecommitdiff
path: root/packages/pdm/pdm_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pdm/pdm_1.0.bb')
-rw-r--r--packages/pdm/pdm_1.0.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/pdm/pdm_1.0.bb b/packages/pdm/pdm_1.0.bb
index 56f1f5a3d1..d80e836e8a 100644
--- a/packages/pdm/pdm_1.0.bb
+++ b/packages/pdm/pdm_1.0.bb
@@ -2,12 +2,20 @@ SECTION = "x11/base"
LICENSE = "GPL"
DESCRIPTION = "pdm is a minimal session manager for GUIs."
-SRC_URI = "http://www.penguru.net/download/pdm-${PV}.tar.gz"
+SRC_URI="http://www.penguru.net/download/${PN}-${PV}.tar.gz \
+ file://pdm-1.0-changes.patch;patch=1 \
+ file://pdm.conf \
+ file://xfce \
+ file://mythtv"
-do_install () {
+do_install() {
install -d ${D}${sbindir} \
${D}${sysconfdir}/pdm/sessions \
${D}${sysconfdir}/pdm/plugins
+
install -m 0755 pdm ${D}${sbindir}/pdm
install -m 0644 conf/pdm.conf* ${D}${sysconfdir}/pdm/
+ install -m 0644 ${WORKDIR}/pdm.conf ${D}${sysconfdir}/pdm/
+ install -m 755 ${WORKDIR}/xfce ${D}${sysconfdir}/pdm/sessions/xfce
+ install -m 755 ${WORKDIR}/mythtv ${D}${sysconfdir}/pdm/sessions/mythtv
}