DESCRIPTION = "Tx Image Viewer"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libc virtual/libqpe"

SRC_URI = "http://downloads.zaurususergroup.com/community/66.180.235.230/download.php/253/tximage-${PV}.tar.gz \
           file://${FILESDIR}/gcc3.patch;patch=1"

inherit palmtop

do_install() {
        install -d ${D}/${palmtopdir}/apps/Applications \
        	   ${D}/${palmtopdir}/pics \
        	   ${D}/${palmtopdir}/bin
        install -D -m 755 tximage ${D}/${palmtopdir}/bin/tximage
        install -D -m 644 imageviewer.desktop ${D}/${palmtopdir}/apps/Applications/tximage.desktop
        cp -a tximage.png ${D}/${palmtopdir}/pics/
}