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

SRC_URI = "http://downloads.zaurususergroup.com/community/66.180.235.230/download.php/253/tximage-${PV}.tar.gz \
           file://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/
}