summaryrefslogtreecommitdiff
path: root/packages/openttd
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/openttd
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/openttd')
-rw-r--r--packages/openttd/files/openttd_0.6.3-buildfix.patch25
-rw-r--r--packages/openttd/openttd.inc48
-rw-r--r--packages/openttd/openttd_0.6.3.bb9
3 files changed, 0 insertions, 82 deletions
diff --git a/packages/openttd/files/openttd_0.6.3-buildfix.patch b/packages/openttd/files/openttd_0.6.3-buildfix.patch
deleted file mode 100644
index c0ac8f1945..0000000000
--- a/packages/openttd/files/openttd_0.6.3-buildfix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: openttd-0.6.3/config.lib
-===================================================================
---- openttd-0.6.3.orig/config.lib 2008-10-01 19:00:50.000000000 +0200
-+++ openttd-0.6.3/config.lib 2008-12-04 19:04:29.000000000 +0100
-@@ -1341,7 +1341,7 @@
- if [ -z "$6" ]; then
- compiler="$3"
- else
-- compiler="$3-$6"
-+ compiler="$4"
- fi
- machine=`eval $compiler $9 2>/dev/null`
- ret=$?
-@@ -1357,11 +1357,6 @@
- exit 1
- fi
-
-- if [ "$machine" != "$3" ] && ( [ "$8" = "0" ] || [ "$8" = "1" ] ); then
-- log 1 "checking $1... expected $3, found $machine"
-- log 1 "the compiler suggests it doesn't build code for the machine you specified"
-- exit 1
-- fi
- elif [ -n "$4" ]; then
- # Check for manual compiler
- machine=`$4 $9 2>/dev/null`
diff --git a/packages/openttd/openttd.inc b/packages/openttd/openttd.inc
deleted file mode 100644
index b1a5e956d7..0000000000
--- a/packages/openttd/openttd.inc
+++ /dev/null
@@ -1,48 +0,0 @@
-# Note: OpenTTD's build system changed considerably in 0.6.x
-# This include file is written towards the newer versions.
-
-DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition. \
-This package provides the engine only. You will need to get the data file elsewhere \
-through official channels."
-HOMEPAGE = "http://openttd.sf.net"
-LICENSE = "GPLv2"
-
-DEPENDS = "libsdl-net libpng zlib freetype fontconfig"
-
-SRC_URI = "http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2"
-
-APPIMAGE = "media/openttd.48.png"
-
-inherit siteinfo sdl
-
-do_configure() {
- # The way the OTTD configure system handles the application's directories
- # isn't the way autotools does it. Mainly prefix is always prepended even if
- # absolute binary-dir and data-dir is given. Sigh ...
-
- # Disabling MIDI feature for now.
- ./configure \
- --build=${BUILD_SYS} \
- --host=${TARGET_SYS} \
- --windres=${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
- --os=UNIX \
- --endian=${SITEINFO_ENDIANESS} \
- --prefix-dir=${prefix} \
- --binary-dir=bin \
- --with-midi=/bin/true \
- --with-zlib=${STAGING_LIBDIR} \
- --with-png \
- --with-freetype \
- --cc-build=gcc \
- --cc-host=${TARGET_SYS}-gcc \
- --cxx-build=g++ \
- --cxx-host=${TARGET_SYS}-g++ \
- --strip=${TARGET_SYS}-strip \
- --install-dir=${D}
-}
-
-do_install() {
- oe_runmake install
-}
-
-FILES_${PN} += "${datadir}/*"
diff --git a/packages/openttd/openttd_0.6.3.bb b/packages/openttd/openttd_0.6.3.bb
deleted file mode 100644
index a8a06738f4..0000000000
--- a/packages/openttd/openttd_0.6.3.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require openttd.inc
-
-PR = "r0"
-
-# When upgrading this recipe make sure to refresh this patch.
-SRC_URI += "file://openttd_${PV}-buildfix.patch;patch=1"
-
-
-