blob: 2e5b7bdd150580726e8a4bcf8cb30a5906c0d392 (
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 = "r7"
DEPENDS = "qt-embedded"
inherit qtopia4core 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"
|