1 DESCRIPTION = "framebuffer VNC server"
2 DEPENDS = "virtual/libc libvncserver jpeg zlib"
3 RDEPENDS = "fbvncserver-kmodule libvncserver-storepasswd libvncserver-javaapplet"
5 SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
6 file://libvncs0.6.patch;patch=1 \
7 file://paths.patch;patch=1 \
8 file://kernelinclude.patch;patch=1 \
9 file://zaurus_panel.jpg \
12 export INCLUDES = "-I${STAGING_INCDIR}"
14 export LIBS = "-L${STAGING_LIBDIR} -lpthread"
15 export VNCSERVER_DIR = "${STAGING_LIBDIR}"
16 export ZAURUS_ZLIB_LIBS = "${STAGING_LIBDIR}"
17 export ZAURUS_JPEG_LIBS = "${STAGING_LIBDIR}"
20 oe_runmake zaurus_fbvncserver zaurus_tssimd
24 install -d ${D}/usr/bin
25 install -m 0755 zaurus_fbvncserver ${D}/usr/bin/fbvncserver
26 install -m 0755 zaurus_tssimd ${D}/usr/bin/tssimd
28 install -d ${D}/usr/share/fbvncserver
29 install -m 0644 ${WORKDIR}/zaurus_panel.jpg ${D}/usr/share/fbvncserver/
31 install -d ${D}/${sysconfdir}/init.d
32 install -d ${D}/${sysconfdir}/rc2.d
33 install -d ${D}/${sysconfdir}/rc3.d
34 install -d ${D}/${sysconfdir}/rc4.d
35 install -d ${D}/${sysconfdir}/rc5.d
36 install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/fbvncinput
37 ln -sf ../init.d/fbvncinput ${D}/${sysconfdir}/rc2.d/S97fbvncinput
38 ln -sf ../init.d/fbvncinput ${D}/${sysconfdir}/rc3.d/S97fbvncinput
39 ln -sf ../init.d/fbvncinput ${D}/${sysconfdir}/rc4.d/S97fbvncinput
40 ln -sf ../init.d/fbvncinput ${D}/${sysconfdir}/rc5.d/S97fbvncinput