summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/freedroid
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/freedroid
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/freedroid')
-rw-r--r--org.handhelds.familiar/packages/freedroid/freedroid-1.0.2/icon.pngbin0 -> 1074 bytes
-rw-r--r--org.handhelds.familiar/packages/freedroid/freedroid_1.0.2.bb42
2 files changed, 42 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/freedroid/freedroid-1.0.2/icon.png b/org.handhelds.familiar/packages/freedroid/freedroid-1.0.2/icon.png
new file mode 100644
index 0000000..6db9f21
--- /dev/null
+++ b/org.handhelds.familiar/packages/freedroid/freedroid-1.0.2/icon.png
Binary files differ
diff --git a/org.handhelds.familiar/packages/freedroid/freedroid_1.0.2.bb b/org.handhelds.familiar/packages/freedroid/freedroid_1.0.2.bb
new file mode 100644
index 0000000..e51d22c
--- /dev/null
+++ b/org.handhelds.familiar/packages/freedroid/freedroid_1.0.2.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Clone of the classic Paradroid from C64 for Qtopia/Opie - based on SDL"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+HOMEPAGE = "http://freedroid.sourceforge.net/"
+DEPENDS = "virtual/libqpe libsdl-qpe libsdl-image"
+PR = "r1"
+
+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 -pPR graphics/* ${D}${palmtopdir}/share/freedroid/graphics
+ cp -pPR map/* ${D}${palmtopdir}/share/freedroid/map
+ cp -pPR 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}/"