summaryrefslogtreecommitdiff
path: root/packages/qpe-games/crossword_0.0.3.bb
blob: d257a75ac92a11e3d46c8f2aa38d2a20340c5e56 (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
DESCRIPTION = "Checkers"
SECTION = "opie/games"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
AUTHOR = "Robert Ernst"
HOMEPAGE = "http://www.linux-solutions.at/projects/zaurus/games-Crossword.html"

SRC_URI = "http://handhelds.org/~zecke/oe_packages/crossword_V0.0.3.tar.gz \
	   file://crossword.patch;patch=1"

PV = "0.0.3"
S = "${WORKDIR}/crossword_V${PV}"

APPNAME = "crossword"
APPTYPE = "binary"
APPDESKTOP = "${S}"

do_install () {
	install -d ${D}${palmtopdir}/pics/${APPNAME}/
	install -m 0644 ${S}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
	
}

pkg_postinst() {
#!/bin/sh

MIMEFILE=/opt/QtPalmtop/etc/mime.types

grep -q application/puz $MIMEFILE 2>/dev/null || echo -e "application/crossword\t\tpuz tpz" >> $MIMEFILE
}

inherit opie