summaryrefslogtreecommitdiff
path: root/packages/opie-login/opie-login_cvs.bb
blob: 147f2989cf2defe2bccf13b19e196e071423710f (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
DESCRIPTION = "Opie Login Manager (similar to gdm, xdm or kdm)"
SECTION = "opie/base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
RRECOMMENDS = "opie-logoutapplet"
PR = "r1"
PV = "1.1.9+cvs-${CVSDATE}"
APPNAME = "opie-login"

BROKEN = 1

SRC_URI = "${HANDHELDS_CVS};module=opie/core/${APPNAME} \
	   ${HANDHELDS_CVS};module=opie/core/apps/calibrate \
	   ${HANDHELDS_CVS};module=opie/core/launcher \
	   file://opie-session \
	   file://post-session \
	   file://pre-session \
	   file://opie-login.conf"
S = "${WORKDIR}/${APPNAME}"

inherit opie

EXTRA_QMAKEVARS_POST_append = " LIBS-=-lpam"
EXTRA_QMAKEVARS_POST_append = " DEFINES-=USEPAM"

do_install() {
	install -d ${D}${palmtopdir}/bin
	install -d ${D}${palmtopdir}/etc
	install -d ${D}${palmtopdir}/share/opie-login

	install -m 755 ${WORKDIR}/${PN}/opie-login ${D}${palmtopdir}/bin
	install -m 644 ${WORKDIR}/*-session ${D}${palmtopdir}/share/opie-login
	install -m 644 ${WORKDIR}/opie-login.conf ${D}${palmtopdir}/etc
}

do_configure() {
	install -d "${WORKDIR}/apps"
	ln -s "${WORKDIR}/calibrate" "${WORKDIR}/apps/calibrate"
	palmtop_do_configure
}