summaryrefslogtreecommitdiff
path: root/packages/suspend-desktop/suspend-desktop_1.0.bb
blob: 5ad9ec9478ef8dd72c8c009821a339e44c992b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PR          = "r1"
SECTION     = "gpe"
PRIORITY    = "optional"
DESCRIPTION = "Suspend feature for the application launcher menu."
MAINTAINER  = "Florian Boor <florian@kernelconcepts.de>"
LICENSE     = "GPL"
DEPENDS     = "gpe-conf"
RDEPENDS    = "gpe-conf"
RRECOMMENDS = "apm"
PACKAGES    = ${PN}
PACKAGE_ARCH = "all"

SRC_URI = "file://suspend.desktop \
           file://suspend.sh"

FILES_${PN} = "${bindir} ${datadir}"

do_compile() {
}

do_install() {
	install -d ${D}/${bindir}
	install -d ${D}/${datadir}/applications
	install -m 644 ${WORKDIR}/suspend.desktop ${D}/${datadir}/applications/suspend.desktop
	install -m 755 ${WORKDIR}/suspend.sh ${D}/${bindir}/suspend.sh
}