summaryrefslogtreecommitdiff
path: root/packages/openttd
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-24 22:08:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-24 22:08:50 +0000
commitc8da4bf22b36500ab8a557b67f9fbdcc98304657 (patch)
tree84e4a2c52f816382ac3eeb187d501ebdf30b582b /packages/openttd
parent51436cc601a5a1c9a0ee2fc3095166315919dc33 (diff)
openttd: add opie support via sdl.bbclass
Diffstat (limited to 'packages/openttd')
-rw-r--r--packages/openttd/openttd_0.4.0.1.bb28
1 files changed, 21 insertions, 7 deletions
diff --git a/packages/openttd/openttd_0.4.0.1.bb b/packages/openttd/openttd_0.4.0.1.bb
index 74d3fc0e7f..998fbc0ef7 100644
--- a/packages/openttd/openttd_0.4.0.1.bb
+++ b/packages/openttd/openttd_0.4.0.1.bb
@@ -1,13 +1,27 @@
-DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe'"
-SECTION = "games"
-DEPENDS = "virtual/libsdl"
+DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition."
+HOMEPAGE = "http://openttd.sf.net"
+LICENSE = "GPL"
SRC_URI = "${SOURCEFORGE_MIRROR}/openttd/openttd-${PV}-source.tar.gz"
-EXTRA_OEMAKE = "WITH_ZLIB=1 WITH_PNG=1 WITH_SDL=1 UNIX=1 \
-WITH_NETWORK=1 VERBOSE=1 INSTALL=1 \
-PREFIX=usr BINARY_DIR=bin DATA_DIR=share/games/openttd PERSONAL_DIR=.openttd USE_HOMEDIR=1 \
-CC_HOST=gcc CC_TARGET=${TARGET_SYS}-gcc"
+APPIMAGE = "media/openttd.48.png"
+
+EXTRA_OEMAKE = "WITH_ZLIB=1 \
+ WITH_PNG=1 \
+ WITH_SDL=1 \
+ UNIX=1 \
+ WITH_NETWORK=1 \
+ VERBOSE=1 \
+ INSTALL=1 \
+ PREFIX=usr \
+ BINARY_DIR=bin \
+ DATA_DIR=share/games/openttd \
+ PERSONAL_DIR=.openttd \
+ USE_HOMEDIR=1 \
+ CC_HOST=gcc \
+ CC_TARGET=${TARGET_SYS}-gcc"
+
+inherit sdl
do_install() {
oe_runmake install DESTDIR="${D}"