summaryrefslogtreecommitdiff
path: root/recipes/zrally
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zrally')
-rw-r--r--recipes/zrally/zrally/dir.patch11
-rw-r--r--recipes/zrally/zrally_0.90.bb24
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes/zrally/zrally/dir.patch b/recipes/zrally/zrally/dir.patch
new file mode 100644
index 0000000000..6bc8f3bdc7
--- /dev/null
+++ b/recipes/zrally/zrally/dir.patch
@@ -0,0 +1,11 @@
+--- src/zrally.cpp.orig 2003-02-15 17:34:08 +0100
++++ src/zrally.cpp 2004-10-16 00:02:23 +0200
+@@ -69,7 +69,7 @@
+ #ifdef _WIN32
+ picsDirectory = "./";
+ #else
+- picsDirectory = "/home/QtPalmtop/pics/zrally/";
++ picsDirectory = "/opt/QtPalmtop/pics/zrally/";
+ #endif
+ mainWin->setBackgroundColor(QColor (0x00, 0x80, 0x00));
+
diff --git a/recipes/zrally/zrally_0.90.bb b/recipes/zrally/zrally_0.90.bb
new file mode 100644
index 0000000000..ecf3fcf9fc
--- /dev/null
+++ b/recipes/zrally/zrally_0.90.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "ZRally is a top view race game which offers the player mulitple \
+tracks and multiple skill levels."
+SECTION = "opie/games"
+PRIORITY = "optional"
+LICENSE = "GPL"
+AUTHOR = "Kevin Greenhaw <kevin_greenhaw@email.com>"
+HOMEPAGE = "http://zrally.sourceforge.net/zrally.html"
+APPNAME = "zrally"
+APPTYPE = "binary"
+APPDESKTOP = "${WORKDIR}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/zrally/zrally_0.90_src.tar.gz \
+file://dir.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}"
+
+inherit opie
+
+do_install () {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/track_pics/
+ install -m 0644 track_pics/*.png ${D}${palmtopdir}/pics/${APPNAME}/track_pics/
+ install -m 0644 track_pics/ZRallyIcon.png ${D}${palmtopdir}/pics/
+}
+