aboutsummaryrefslogtreecommitdiff
path: root/recipes/neuros-public/neuros-nwm_git.bb
blob: 258842afa486e83f6f39cd2cb8f21b25eb6a2a2c (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
DESCRIPTION = "Neuros window manager"
LICENSE = "GPL"

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

inherit qt4e update-rc.d

SRCREV = "b042e49d3a71cea6d4545ef6f2fc90979518b22e"
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"