summaryrefslogtreecommitdiff
path: root/packages/neuros-public/neuros-nwm_git.bb
blob: 4290ae38be055f6f76566de05fac08aeb379823e (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
DESCRIPTION = "Neuros window manager"
LICENSE = "GPL"

PV = "0.0+${PR}+gitr${SRCREV}"
PR = "r6"

DEPENDS = "qt-embedded"

inherit qtopia4core update-rc.d

SRCREV = "e6c30ba6e5be217ca4bf7e98e00f87bb7241872c"
SRC_URI = "git://git.neurostechnology.com/git/app-nwm;protocol=git \
           file://init"

INITSCRIPT_NAME = "neuros-nwm"

S = "${WORKDIR}/git/"

do_configure_prepend() {
	rm ${S}/src/Makefile || true
	sed -i -e s:/usr/locl/bin:${bindir}:g ${WORKDIR}/init
}

do_install() {
    install -d ${D}/${bindir}
    install -m 0755  ${S}/build/nwm ${D}/${bindir}
	install -d ${D}/${libdir}
	ln -sf ${datadir}/fonts ${D}/${libdir}/fonts
	
	install -d ${D}/${sysconfdir}/init.d
	install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/neuros-nwm
}

FILES_${PN} += "${libdir}/fonts"