summaryrefslogtreecommitdiff
path: root/justreader/justreader_2.0k.oe
blob: 9d731be61e745237f2940cbeaf02f16ba5611ad3 (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
DESCRIPTION = "An E-Books reader for Qt/Embedded based Palmtop Environments"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/justreader/justreader_${PV}.tgz"
S = "${WORKDIR}/TextReader2"

inherit palmtop

EXTRA_QMAKEVARS_POST = 'INCLUDEPATH+="${STAGING_INCDIR}/qpe" LIBS+=-lqpe'
export OE_QMAKE_LINK="${CXX}"

do_configure_prepend() {
	find . -name "Makefile"|xargs rm -f
}

do_install() {
	install -d ${D}/${palmtopdir}/bin \
		   ${D}/${palmtopdir}/pics/${PN}/ \
		   ${D}/${palmtopdir}/apps/Applications
	install -m 0644 apps/Applications/justreader.desktop ${D}/${palmtopdir}/apps/Applications/
	install -m 0755 bin/justreader ${D}/${palmtopdir}/bin/
	install -m 0644 pics/* ${D}/${palmtopdir}/pics/justreader/
}