summaryrefslogtreecommitdiff
path: root/packages/gnuz/gnuz_0.3.bb
blob: 9a164978ffc6ba3fb08a62d77fc945a47b39bd00 (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
DESCRIPTION = "gnuZ is a Lemmings style game"
SECTION = "opie/games"
PRIORITY = "optional"
MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
LICENSE = "GPL"
AUTHOR = "Lukas Fraser"
HOMEPAGE = "http://gnuz.4cows.net/eraser/gnuz/"
PR = "r2"

APPTYPE = "binary"
APPNAME = "gnuz"
APPDESKTOP = "${S}/data/"

SRC_URI = "http://gnuz.4cows.net/eraser/gnuz/gnuz_0.3.tar.gz \
           http://ewi546.ewi.utwente.nl/mirror/hrw-oe-sources/gnuz-levels-0.3-1.tar.bz2"

S = "${WORKDIR}/gnuz"

inherit opie

do_install_append() {

        install -d ${D}${palmtopdir}/apps/Games \
                   ${D}${palmtopdir}/pics \
                   ${D}${palmtopdir}/share/gnuz/levels

        install -m 0644 data/gnuz.png ${D}${palmtopdir}/pics/
        install -m 0644 ${WORKDIR}/gnuz-levels/share/gnuz/levels/* ${D}${palmtopdir}/share/gnuz/levels/
        install -m 0644 ${WORKDIR}/gnuz-levels/share/gnuz/*images.dat ${D}${palmtopdir}/share/gnuz/
}