summaryrefslogtreecommitdiff
path: root/packages/nonworking/kgrok/kgrok_1.5.bb
blob: f70e46a30cb52582bbc2b434a122c76cfe36abd1 (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
DESCRIPTION = "Palmtop Data Manager \
KGrok is a shared flatfile database visualization engine. Simple application \
scripts turn it into a phone list, todo list, notepad, and others. Encryption \
optionally secures personal data."
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
LICENSE = "GPL"
AUTHOR = "Thomas Driemeyer <thomas@bitrot.de>"
HOMEPAGE = "http://www.bitrot.de/pda_kgrok.html"
APPNAME = "kgrok"
APPTYPE = "binary"
APPDESKTOP = "${S}/apps/KGrok"

SRC_URI = "ftp://ftp.bitrot.de/pub/kgrok/kgrok-src_1.5.tar.gz \
           file://parser_yacc.* \
           file://mediabutton.patch;patch=1"
S = "${WORKDIR}/src/"

inherit opie

EXTRA_QMAKEVARS_POST += "DEFINES+=ORDER_DCBA YACCSOURCES= SOURCES+=parser_yacc.cpp"
QMAKE_PROFILES = "src.pro"

do_configure_prepend() {
	cd ${S} && qmake -project
}

do_compile_prepend() {
	install -m 0655 ${WORKDIR}/parser_yacc.* ${S}
}

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