summaryrefslogtreecommitdiff
path: root/packages/opie-login/opie-login.inc
blob: 8000cf9d458c1452b8cab2d4d6758839efca5101 (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
DESCRIPTION = "Opie Login Manager (similar to gdm, xdm or kdm)"
SECTION = "opie/base"
PRIORITY = "optional"
LICENSE = "GPL"
RRECOMMENDS = "opie-logoutapplet"
APPNAME = "opie-login"

BROKEN = "1"

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
}