diff options
Diffstat (limited to 'packages/fbvncserver')
-rw-r--r-- | packages/fbvncserver/fbvncserver_0.9.4.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/fbvncserver/fbvncserver_0.9.4.bb b/packages/fbvncserver/fbvncserver_0.9.4.bb index e69de29bb2..7fe905c95c 100644 --- a/packages/fbvncserver/fbvncserver_0.9.4.bb +++ b/packages/fbvncserver/fbvncserver_0.9.4.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "framebuffer VNC server" +LICENSE = "GPL" +SECTION = "console/utils" +DEPENDS = "libvncserver jpeg zlib" +RDEPENDS = "fbvncserver-kmodule libvncserver-storepasswd libvncserver-javaapplet" +PR = "r1" + +SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \ + file://libvncs0.6.patch;patch=1 \ + file://paths.patch;patch=1 \ + file://kernelinclude.patch;patch=1 \ + file://zaurus_panel.jpg \ + file://init" + +export INCLUDES = "-I${STAGING_INCDIR}" + +export LIBS = "-L${STAGING_LIBDIR} -lpthread" +export VNCSERVER_DIR = "${STAGING_LIBDIR}" +export ZAURUS_ZLIB_LIBS = "${STAGING_LIBDIR}" +export ZAURUS_JPEG_LIBS = "${STAGING_LIBDIR}" + +inherit update-rc.d + +INITSCRIPT_NAME = "fbvncinput" +INITSCRIPT_PARAMS = "defaults 97" + +do_compile () { + oe_runmake zaurus_fbvncserver zaurus_tssimd +} + +do_install () { + install -d ${D}/usr/bin + install -m 0755 zaurus_fbvncserver ${D}/usr/bin/fbvncserver + install -m 0755 zaurus_tssimd ${D}/usr/bin/tssimd + + install -d ${D}/usr/share/fbvncserver + install -m 0644 ${WORKDIR}/zaurus_panel.jpg ${D}/usr/share/fbvncserver/ + + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/fbvncinput +} |