summaryrefslogtreecommitdiff
path: root/cumulus/cumulus_1.1.oe
blob: 0096713f9e8846454f04d5400bbe77ff05fa3de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "OpenOffice.org Impress presentation viewer for Qt/E based Palmtop environments"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
RDEPENDS = "libqpe1"
DEPENDS = "virtual/libc virtual/libqpe"

SRC_URI = "http://cumulus.kflog.org/download/src/cumulus-${PV}.src.tar.bz2 \
           file://${FILESDIR}/qtooltip.patch;patch=1"
S = "${WORKDIR}/cumulus-arm-${PV}"

inherit palmtop

EXTRA_QMAKEVARS_POST = "INCLUDEPATH+=-I."

do_configure_prepend() {
        echo -e "TEMPLATE=subdirs\nSUBDIRS=cumulus\n" >cumulus.pro
}

do_install() {
        install -d ${D}${palmtopdir}{bin,apps/Applications,pics}
        install -D -m 0755 cumulus/cumulus ${D}${palmtopdir}bin/cumulus
        install -D -m 0644 cumulus/cumulus.desktop ${D}${palmtopdir}apps/Applications/cumulus.desktop
        install -D -m 0644 cumulus.png ${D}${palmtopdir}pics/cumulus.png
        install -d ${D}${palmtopdir}pics/mapicons
        cp -a cumulus/map-icons/* ${D}${palmtopdir}pics/mapicons
}