blob: 579ed90c0dc496c27bc4c0a75fa7809a2857aecd (
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
38
39
40
|
DESCRIPTION = "Powermanga is an arcade 2D shoot-em-up game with 41 levels and more than 200 sprites."
SECTION = "opie/games"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "libsdl-qpe libsdl-mixer"
PR = "r1"
SRC_URI = "http://linux.tlk.fr/games/Powermanga/download/powermanga-0.79.tgz \
file://linuxroutines.cpp \
file://pda-tweaks.patch \
file://powermanga.pro \
file://powermanga.png \
file://powermanga.desktop"
S = "${WORKDIR}/${PN}-${PV}/"
inherit palmtop
do_configure_prepend() {
mv ${WORKDIR}/linuxroutines.cpp ${S}/src/
mv ${WORKDIR}/powermanga.pro ${S}/
rm -f `find ${S}/ -name Makefile\*`
rm -f `find ${S}/ -name config\*`
}
do_install() {
install -d ${D}${palmtopdir}/bin \
${D}${palmtopdir}/pics \
${D}${palmtopdir}/apps/Games \
${D}${palmtopdir}/share/games/powermanga/graphics \
${D}${palmtopdir}/share/games/powermanga/sounds
install -m 0755 ${S}/src/powermanga ${D}${palmtopdir}/bin/powermanga
install -m 0644 ${WORKDIR}/powermanga.png ${D}${palmtopdir}/pics/powermanga.png
install -m 0644 ${WORKDIR}/powermanga.desktop ${D}${palmtopdir}/apps/Games/powermanga.desktop
install -m 0644 ${S}/graphics/* ${D}${palmtopdir}/share/games/powermanga/graphics/
install -m 0644 ${S}/sounds/* ${D}${palmtopdir}/share/games/powermanga/sounds/
}
SRC_URI[md5sum] = "3a4f00658496921b7327413ac476c1b7"
SRC_URI[sha256sum] = "99a9737480224be47362387d2d2389bee61d7685510b3a161b2b1db6c0556c26"
|