summaryrefslogtreecommitdiff
path: root/recipes/kdepimpi/ktimetrackerpi_0.9.7.bb
blob: d022dc55cc85efc1c63866270e57ebad1e9f2077 (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
30
DESCRIPTION = "Time tracking program"
SECTION = "opie/applications"
PRIORITY = "optional"
LICENSE = "GPL"
HOMEPAGE = "http://www.pi-sync.net"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/kdepimpi/ktimetracker_pi097.tar.gz"

S = "${WORKDIR}/ktimetracker_pi"

inherit palmtop

EXTRA_QMAKEVARS_POST += "QMAKE_UIC=${STAGING_BINDIR_NATIVE}/uic QMAKE_MOC=${STAGING_BINDIR_NATIVE}/moc QMAKE_RPATH=-Wl,-rpath-link, OBJECTS_DIR=obj/ MOC_DIR=moc/ TARGET=${S}/dest/ktpi HEADERS-=kphone/qptrlisth HEADERS+=kphone/qptrlist.h LIBS+=-lstdc++"
QMAKE_PROFILES= "ktimetracker_piE.pro"

do_configure_prepend() {
	mkdir ${S}/dest/
}

do_install() {
    install -d ${D}${palmtopdir}/bin \
               ${D}${palmtopdir}/apps/1Pim \
               ${D}${palmtopdir}/pics/

    install -m 0644 ${S}/ktimetracker.png ${D}${palmtopdir}/pics/
    install -m 0644 ${S}/ktimetracker.desktop ${D}${palmtopdir}/apps/1Pim/

    install -m 0755 ${S}/dest/ktpi ${D}${palmtopdir}/bin/ktpi
}