DESCRIPTION = "OpenOffice.org Impress presentation viewer for Qt/E based Palmtop environments"
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
HOMEPAGE = "http://poqetp.sourceforge.net/"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/poqetp/poqetp_${PV}_src.tar.gz"
S = "${WORKDIR}/poqetp"

inherit palmtop

do_configure_prepend() {
	find . -name "Makefile"|xargs rm -f # force regenerating Makefiles
}

do_install() {
        install -d ${D}/${palmtopdir}/bin \
        	   ${D}/${palmtopdir}/apps/Applications \
        	   ${D}/${palmtopdir}/pics
        install -D -m 0755 poqetp/poqetp ${D}/${palmtopdir}/bin/poqetp
        install -D -m 0644 poqetp.desktop ${D}/${palmtopdir}/Applications/poqetp.desktop
        install -d ${D}/${palmtopdir}/pics/poqetp
        cp -a pics/* ${D}/${palmtopdir}/pics/poqetp/
}