[Lunar-commits] r19376 - in moonbase/trunk/games: . openttd

Stefan Wold ratler at lunar-linux.org
Wed Mar 22 08:10:48 UTC 2006


Author: ratler
Date: 2006-03-22 08:10:47 +0000 (Wed, 22 Mar 2006)
New Revision: 19376

Added:
   moonbase/trunk/games/openttd/
   moonbase/trunk/games/openttd/BUILD
   moonbase/trunk/games/openttd/DEPENDS
   moonbase/trunk/games/openttd/DETAILS
   moonbase/trunk/games/openttd/POST_INSTALL
Log:
An awesome port of the popular game Transport Tycoon Deluxe

Added: moonbase/trunk/games/openttd/BUILD
===================================================================
--- moonbase/trunk/games/openttd/BUILD	                        (rev 0)
+++ moonbase/trunk/games/openttd/BUILD	2006-03-22 08:10:47 UTC (rev 19376)
@@ -0,0 +1,32 @@
+(
+  if is_depends libpng; then
+    OPTS="$OPTS WITH_PNG=1"
+  fi
+
+  make PREFIX=/usr \
+       WITH_ZLIB=1 \
+       WITH_SDL=1 \
+       MANUAL_CONFIG=1 \
+       UNIX=1 \
+       WITH_NETWORK=1 \
+       INSTALL=1 \
+       USE_HOMEDIR=1 \
+       PERSONAL_DIR=.openttd \
+       DATA_DIR=share/games/openttd \
+       BINARY_DIR=games \
+       $OPTS &&
+   
+  prepare_install &&
+  
+  # make install is experimental so we do this manually
+  GAMEDATA=/usr/share/games/openttd
+  mkdir -p ${GAMEDATA}/{data,lang,scenario,scripts} &&
+  install -m 0644 data/* ${GAMEDATA}/data/ &&
+  install -m 0644 lang/*.lng ${GAMEDATA}/lang/ &&
+  install -m 0644 scenario/* ${GAMEDATA}/scenario/ &&
+  install -m 0644 scripts/* ${GAMEDATA}/scripts/ &&
+  install -m 0755 openttd /usr/games/
+
+  gather_docs docs changelog.txt readme.txt
+    
+) > $C_FIFO 2>&1

Added: moonbase/trunk/games/openttd/DEPENDS
===================================================================
--- moonbase/trunk/games/openttd/DEPENDS	                        (rev 0)
+++ moonbase/trunk/games/openttd/DEPENDS	2006-03-22 08:10:47 UTC (rev 19376)
@@ -0,0 +1,4 @@
+depends SDL &&
+depends zlib &&
+optional_depends "timidity++" "" "" "for in game music" &&
+optional_depends "libpng" "" "" "for PNG screenshots"

Added: moonbase/trunk/games/openttd/DETAILS
===================================================================
--- moonbase/trunk/games/openttd/DETAILS	                        (rev 0)
+++ moonbase/trunk/games/openttd/DETAILS	2006-03-22 08:10:47 UTC (rev 19376)
@@ -0,0 +1,16 @@
+          MODULE=openttd
+         VERSION=0.4.5
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=$SFORGE_URL/$MODULE/
+      SOURCE_VFY=sha1:95b14fbf1488521354b1d187ffd8deaa2bdec857
+        WEB_SITE=http://www.openttd.org/
+         ENTERED=20060322
+         UPDATED=20060322
+         GARBAGE=off
+      MAINTAINER=ratler at lunar-linux.org
+           SHORT="A clone of the Microprose game Transport Tycoon Deluxe"
+cat << EOF
+OpenTTD is modeled after the original Transport Tycoon game by Chris
+Sawyer and enhances the game experience dramatically. Many features were
+inspired by TTDPatch while others are original.
+EOF

Added: moonbase/trunk/games/openttd/POST_INSTALL
===================================================================
--- moonbase/trunk/games/openttd/POST_INSTALL	                        (rev 0)
+++ moonbase/trunk/games/openttd/POST_INSTALL	2006-03-22 08:10:47 UTC (rev 19376)
@@ -0,0 +1,18 @@
+message "Before you run OpenTTD, you need to put the game's datafiles into the
+/usr/share/games/openttd/data subdirectory. 
+You need the following files from the original version of TTD as 
+OpenTTD makes use of the original TTD artwork.
+
+List of the required files: sample.cat trg1r.grf trgcr.grf trghr.grf
+trgir.grf trgtr.grf
+
+(Alternatively you can use the TTD GRF files from the DOS version:
+TRG1.GRF, TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. A few minor graphical
+glitches with the DOS graphics remain. E.g. the autorail button in the
+rail toolbar doesn't look as nice as with the Windows graphics.)
+
+If you want music you need to copy the gm/ folder from Windows TTD into
+your /usr/share/games/openttd folder, not your data folder.
+
+For more information on how to aquire the original game visit,
+http://www.transporttycoon.net/where"



More information about the Lunar-commits mailing list