summaryrefslogtreecommitdiff
path: root/cumulus/cumulus_1.1.oe
blob: e63cb9a7561650bc7a168f8cacc29a3e4024d8bb (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
29
DESCRIPTION = "OpenOffice.org Impress presentation viewer for Qt/E based Palmtop environments"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
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 \
		   ${D}/${palmtopdir}/apps/Applications \
		   ${D}/${palmtopdir}/pics
        install -D -m 0755 cumulus/cumulus ${D}/${palmtopdir}/bin/cumulus
        install -D -m 0644 cumulus/cumulus.desktop ${D}/${palmtopdir}/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
}