1*eb8dc403SDave CobbleySUMMARY = "Custom Matchbox session files"
2*eb8dc403SDave CobbleyHOMEPAGE = "http://www.matchbox-project.org/"
3*eb8dc403SDave CobbleyBUGTRACKER = "http://bugzilla.yoctoproject.org/"
4*eb8dc403SDave Cobbley
5*eb8dc403SDave CobbleyLICENSE = "GPLv2"
6*eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://matchbox-session;endline=20;md5=180f1c169a15d059a56c30094f6fb5ea"
7*eb8dc403SDave Cobbley
8*eb8dc403SDave CobbleySECTION = "x11"
9*eb8dc403SDave CobbleyRCONFLICTS_${PN} = "matchbox-common"
10*eb8dc403SDave Cobbley
11*eb8dc403SDave CobbleySRC_URI = "file://matchbox-session"
12*eb8dc403SDave CobbleyS = "${WORKDIR}"
13*eb8dc403SDave Cobbley
14*eb8dc403SDave CobbleyPR = "r4"
15*eb8dc403SDave Cobbley
16*eb8dc403SDave Cobbleyinherit update-alternatives
17*eb8dc403SDave Cobbley
18*eb8dc403SDave CobbleyALTERNATIVE_${PN} = "x-session-manager"
19*eb8dc403SDave CobbleyALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
20*eb8dc403SDave CobbleyALTERNATIVE_PRIORITY = "100"
21*eb8dc403SDave Cobbley
22*eb8dc403SDave Cobbleydo_install() {
23*eb8dc403SDave Cobbley	install -d ${D}/${bindir}
24*eb8dc403SDave Cobbley	install -m 0755 ${S}/matchbox-session ${D}/${bindir}
25*eb8dc403SDave Cobbley}
26