summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"