From c8da4bf22b36500ab8a557b67f9fbdcc98304657 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 24 Apr 2006 22:08:50 +0000 Subject: openttd: add opie support via sdl.bbclass --- packages/openttd/openttd_0.4.0.1.bb | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'packages/openttd') 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}" -- cgit v1.2.3