1 DESCRIPTION = "Framebuffer VNC server"
2 SECTION = "console/utils"
5 DEPENDS = "libvncserver jpeg zlib"
6 RDEPENDS = "fbvncserver-kmodule libvncserver-storepasswd libvncserver-javaapplet"
9 SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
10 file://libvncs0.6.patch;patch=1 \
11 file://paths.patch;patch=1 \
12 file://kernelinclude.patch;patch=1 \
13 file://buildfix.patch;patch=1 \
14 file://ipaq.patch;patch=1 \
17 S = "${WORKDIR}/fbvncserver-${PV}"
19 export INCLUDES = "-I${STAGING_INCDIR}"
20 export LIBS = "-L${STAGING_LIBDIR} -lpthread"
21 export VNCSERVER_DIR = "${STAGING_LIBDIR}"
22 export ZAURUS_ZLIB_LIBS = "${STAGING_LIBDIR}"
23 export ZAURUS_JPEG_LIBS = "${STAGING_LIBDIR}"
27 INITSCRIPT_NAME = "fbvncinput"
28 INITSCRIPT_PARAMS = "defaults 97"
30 FBVNCSERVER_SYSTEM = "zaurus"
31 FBVNCSERVER_SYSTEM_h3600 = "ipaq"
32 FBVNCSERVER_SYSTEM_h3900 = "ipaq"
35 oe_runmake ${FBVNCSERVER_SYSTEM}_fbvncserver ${FBVNCSERVER_SYSTEM}_tssimd
39 install -d ${D}${bindir}
40 install -m 0755 ${FBVNCSERVER_SYSTEM}_fbvncserver ${D}${bindir}/fbvncserver
41 install -m 0755 ${FBVNCSERVER_SYSTEM}_tssimd ${D}${bindir}/tssimd
43 install -d ${D}${datadir}/fbvncserver
44 install -m 0644 ${FBVNCSERVER_SYSTEM}_panel.jpg ${D}${datadir}/fbvncserver/
46 install -d ${D}${sysconfdir}/init.d
47 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/fbvncinput
50 FILES_${PN} += " /usr/share/fbvncserver/*.jpg"