blob: 0f03cf54d58f8fa498179905e4416f3983add298 (
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 = "Clone of the classic Paradroid from C64 for Qtopia/Opie - based on SDL"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libqpe virtual/libsdl libsdl-image"
SRC_URI = "${SOURCEFORGE_MIRROR}/freedroid/freedroid-${PV}.tar.gz \
file://icon.png"
inherit autotools
do_compile() {
oe_runmake pkgdatadir=${palmtopdir}/share/freedroid
}
do_install() {
install -d ${D}/${palmtopdir}/bin \
${D}/${palmtopdir}/apps/Games \
${D}/${palmtopdir}/pics \
${D}/${palmtopdir}/share/freedroid/graphics \
${D}/${palmtopdir}/share/freedroid/map \
${D}/${palmtopdir}/share/freedroid/sound
install -D -m 0755 src/freedroid ${D}/${palmtopdir}/bin/freedroid
install -D -m 0644 ${WORKDIR}/icon.png ${D}/${palmtopdir}/pics/freedroid.png
cp -a graphics/* ${D}/${palmtopdir}/share/freedroid/graphics
cp -a map/* ${D}/${palmtopdir}/share/freedroid/map
cp -a sound/* ${D}/${palmtopdir}/share/freedroid/sound
echo "[Desktop Entry]" >${D}/${palmtopdir}/apps/Games/freedroid.desktop
echo "Comment=A Paradroid Clone" >>${D}/${palmtopdir}/apps/Games/freedroid.desktop
echo "Exec=freedroid" >>${D}/${palmtopdir}/apps/Games/freedroid.desktop
echo "Icon=freedroid" >>${D}/${palmtopdir}/apps/Games/freedroid.desktop
echo "Type=Application" >>${D}/${palmtopdir}/apps/Games/freedroid.desktop
echo "Name=Freedroid" >>${D}/${palmtopdir}/apps/Games/freedroid.desktop
}
FILES_${PN} = ""
FILES_${PN} = "${palmtopdir}/"
|