summaryrefslogtreecommitdiff
path: root/zshopi/zshopi_0.2.oe
blob: 16445a4c06859d2e1c575cbd46d37b3ec5adf439 (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
DESCRIPTION = "Shopping manager"
SECTION = "opie/applications"
DEPENDS = "sqlite"
PRIORITY = "optional"
LICENSE = "GPL"
MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
HOMEPAGE = "http://www.lachner-net.de/"
AUTHOR = "Bernd Lachner <dev@lachner-net.de>"
APPTYPE = "binary"
APPNAME = "zshopi"
APPDESKTOP = "${WORKDIR}"

SRC_URI = "http://www.lachner-net.de/Frames/Software/zshopi_0.2.tar.bz2 \
file://zshopi.desktop \
file://zshopi.png"

S = "${WORKDIR}/${PN}_${PV}/${PN}/"

inherit opie

EXTRA_QMAKEVARS_POST = "DEFINES+=QTOPIA LIBS+=-lm LIBS+=-lsqlite LIBS+=-lqpe"
OE_QMAKE_CXXFLAGS = "-fno-rtti ${CXXFLAGS}"
export OE_QMAKE_LINK="${CXX}"

do_configure_prepend() {
	qmake -project
}

do_install() {
	install -d ${D}/${palmtopdir}/pics/
	install -m 0644 ${WORKDIR}/zshopi.png ${D}/${palmtopdir}/pics/
}