diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-11-04 21:05:19 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-11-04 21:05:19 +0000 |
commit | 7225e5e5085faf319081ef53b1020d38dc2e94d4 (patch) | |
tree | 5012b9169f53f9b9dfc7d5cd362330d4f0c26b27 /packages/openttd/openttd_0.4.0.1.bb | |
parent | cb3a80ff88b8eae2924da9d0d06305345e446f38 (diff) |
openttd: upgraded to 0.4.0.1
Diffstat (limited to 'packages/openttd/openttd_0.4.0.1.bb')
-rw-r--r-- | packages/openttd/openttd_0.4.0.1.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/openttd/openttd_0.4.0.1.bb b/packages/openttd/openttd_0.4.0.1.bb new file mode 100644 index 0000000000..74d3fc0e7f --- /dev/null +++ b/packages/openttd/openttd_0.4.0.1.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe'" +SECTION = "games" +DEPENDS = "virtual/libsdl" + +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" + +do_install() { + oe_runmake install DESTDIR="${D}" + install -d ${D}${datadir}/games/openttd/scenario/ + install -m 0644 ${S}/scenario/*.scn ${D}${datadir}/games/openttd/scenario/ +} + +FILES_${PN} += "${datadir}/*" |