summaryrefslogtreecommitdiff
path: root/recipes/pdm/pdm_1.0.bb
blob: d80e836e8a565b079e32c31f96f757e662abaf43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "x11/base"
LICENSE = "GPL"
DESCRIPTION = "pdm is a minimal session manager for GUIs."

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() {
	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
}