aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/shopper/shopper_1.2.1.bb
blob: 6e102e52f5fea6b0b8eea9cb8675a17ee6e61660 (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
31
32
33
34
35
36
37
38
39
40
DESCRIPTION = "Shopping list manager"
SECTION = "opie/applications"
LICENSE = "GPLv2+"

PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/zaurus-shopper/Shopper-${PV}.tar.gz \
           file://gcc3.patch \
           file://path_fix.patch"
S = "${WORKDIR}/Shopper"

LIC_FILES_CHKSUM = "file://main.cpp;beginline=5;endline=17;md5=ebfeda955de80d31560b3e5b28b6c981"

inherit palmtop

SHOPPER_DATADIR = "${palmtopdir}/share/shopper"
CXXFLAGS_append += " -DSHOPPER_DATADIR='"${SHOPPER_DATADIR}"' "

QMAKE_PROFILES = "Shopper.pro"

pkg_postinst_${PN}() {
	/opt/QtPalmtop/bin/qcop QPE/System "linkChanged(QString)" 2>/dev/null
	if [ -n "$D" ]; then false; fi
}

do_install() {
        install -d ${D}${palmtopdir}/bin \
        	   ${D}${palmtopdir}/apps/Applications \
        	   ${D}${palmtopdir}/pics \
        	   ${D}${palmtopdir}/help/html \
               ${D}${SHOPPER_DATADIR}
        install -m 0755 ${S}/Shopper ${D}${palmtopdir}/bin/
        install -m 0644 ${S}/Shopper.desktop ${D}${palmtopdir}/apps/Applications/
        install -m 0644 ${S}/Shopper.png ${D}${palmtopdir}/pics/
        install -m 0644 ${S}/Shopper.html ${D}${palmtopdir}/help/html/
        install -m 0644 ${S}/shoppinglist.xml ${D}${SHOPPER_DATADIR}/shoppinglist.xml
}

SRC_URI[md5sum] = "ed4d8ce2227abf7e68de687a8c930fa4"
SRC_URI[sha256sum] = "0e1ab08b22742d18b9ee0288874f63ddd74591e1b9f29003fe66dd0ba2289bcf"