summaryrefslogtreecommitdiff
path: root/packages/openttd/openttd_0.4.0.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-06-17 16:18:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-17 16:18:38 +0000
commitbdc973c11ad4d579633e0b46750b1fee669c9e45 (patch)
treecebdf914fcacde3e10e9831e9d656da066bc6a55 /packages/openttd/openttd_0.4.0.1.bb
parent898415f09d438c2a930e34f1f62aecf640a2c68c (diff)
openttd: added some bugfixes from .oz354x - #904
Diffstat (limited to 'packages/openttd/openttd_0.4.0.1.bb')
-rw-r--r--packages/openttd/openttd_0.4.0.1.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/openttd/openttd_0.4.0.1.bb b/packages/openttd/openttd_0.4.0.1.bb
index 998fbc0ef7..eb5f2e27e9 100644
--- a/packages/openttd/openttd_0.4.0.1.bb
+++ b/packages/openttd/openttd_0.4.0.1.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition."
HOMEPAGE = "http://openttd.sf.net"
-LICENSE = "GPL"
+LICENSE = "GPLv2"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/openttd/openttd-${PV}-source.tar.gz"
@@ -13,7 +14,7 @@ EXTRA_OEMAKE = "WITH_ZLIB=1 \
WITH_NETWORK=1 \
VERBOSE=1 \
INSTALL=1 \
- PREFIX=usr \
+ PREFIX=/usr \
BINARY_DIR=bin \
DATA_DIR=share/games/openttd \
PERSONAL_DIR=.openttd \
@@ -25,8 +26,12 @@ inherit sdl
do_install() {
oe_runmake install DESTDIR="${D}"
+
install -d ${D}${datadir}/games/openttd/scenario/
+ install -d ${D}${datadir}/games/openttd/data
+
install -m 0644 ${S}/scenario/*.scn ${D}${datadir}/games/openttd/scenario/
+ install -m 0644 ${S}/data/*.grf ${D}${datadir}/games/openttd/data/
}
FILES_${PN} += "${datadir}/*"