aboutsummaryrefslogtreecommitdiffstats
path: root/nonworking/openttd/openttd_0.3.2.1.oe
diff options
context:
space:
mode:
Diffstat (limited to 'nonworking/openttd/openttd_0.3.2.1.oe')
-rw-r--r--nonworking/openttd/openttd_0.3.2.1.oe29
1 files changed, 29 insertions, 0 deletions
diff --git a/nonworking/openttd/openttd_0.3.2.1.oe b/nonworking/openttd/openttd_0.3.2.1.oe
index e69de29bb2..acd416f5b5 100644
--- a/nonworking/openttd/openttd_0.3.2.1.oe
+++ b/nonworking/openttd/openttd_0.3.2.1.oe
@@ -0,0 +1,29 @@
+DESCRIPTION = "Open Transport Tycoon Clone for SDL."
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "virtual/libqpe libsdl-qpe libsdl-image libsdl-mixer"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/openttd/openttd-${PV}.tbz"
+
+do_compile() {
+ oe_runmake WITH_ZLIB=1 UNIX=1 MANUAL_CONFIG=1
+}
+
+do_install() {
+ install -d ${D}/${palmtopdir}/apps/Games \
+ ${D}/${palmtopdir}/pics \
+ ${D}/${palmtopdir}/share/vectoroids \
+ ${D}/${palmtopdir}/bin
+ install -m 0755 vectoroids-${PV} ${D}/${palmtopdir}/bin/vectoroids
+ install -m 0644 data/images/icon.png ${D}/${palmtopdir}/pics/vectoroids.png
+ cp -a data/* ${D}/${palmtopdir}/share/vectoroids
+
+ echo "[Desktop Entry]" >${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+ echo "Comment=Asteroids game" >>${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+ echo "Exec=vectoroids" >>${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+ echo "Icon=vectoroids" >>${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+ echo "Type=Application" >>${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+ echo "Name=Vectoroids" >>${D}/${palmtopdir}/apps/Games/vectoroids.desktop
+}