summaryrefslogtreecommitdiff
path: root/packages/openttd
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/openttd
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/openttd')
-rw-r--r--packages/openttd/.mtn2git_empty0
-rw-r--r--packages/openttd/openttd_0.4.0.bb18
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/openttd/.mtn2git_empty b/packages/openttd/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openttd/.mtn2git_empty
diff --git a/packages/openttd/openttd_0.4.0.bb b/packages/openttd/openttd_0.4.0.bb
index e69de29bb2..74d3fc0e7f 100644
--- a/packages/openttd/openttd_0.4.0.bb
+++ b/packages/openttd/openttd_0.4.0.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}/*"