[Lunar-commits] <moonbase> openttd: Version bumped to 0.6.3
Stefan Wold
ratler at lunar-linux.org
Sat Mar 21 20:42:51 CET 2009
commit e2c16de88f733a906fd9037bcd827de13a2de62b
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat Mar 21 20:42:51 2009 +0100
openttd: Version bumped to 0.6.3
* Reworked BUILD-file
---
games/openttd/BUILD | 42 +++++++++++++-----------------------------
games/openttd/DEPENDS | 8 ++++----
games/openttd/DETAILS | 6 +++---
3 files changed, 20 insertions(+), 36 deletions(-)
diff --git a/games/openttd/BUILD b/games/openttd/BUILD
index 7e4ff20..0d258db 100644
--- a/games/openttd/BUILD
+++ b/games/openttd/BUILD
@@ -1,37 +1,21 @@
(
if is_depends libpng; then
- OPTS="$OPTS WITH_PNG=1"
+ OPTS+=" --with-png"
fi
- if [ "$USE_UNICODE" == "y" ]; then
- OPTS+=" WITH_ICONV=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 \
- MIDI=/usr/bin/timidity \
- $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 scripts/* ${GAMEDATA}/scripts/ &&
- install -m 0755 openttd /usr/games/
+ if is_depends timidity++; then
+ OPTS+=" --with-midi=/usr/bin/timidity"
+ fi
-# install -m 0644 scenario/* ${GAMEDATA}/scenario/ &&
+ ./configure \
+ --prefix-dir=/usr \
+ --with-sdl \
+ --with-zlib \
+ --with-freetype \
+ --with-fontconfig \
+ $OPTS &&
+ default_make &&
gather_docs docs changelog.txt readme.txt
-
+
) > $C_FIFO 2>&1
diff --git a/games/openttd/DEPENDS b/games/openttd/DEPENDS
index 9fcec5f..03e875d 100644
--- a/games/openttd/DEPENDS
+++ b/games/openttd/DEPENDS
@@ -1,5 +1,5 @@
-depends SDL &&
-depends zlib &&
-depends freetype2 &&
-optional_depends "timidity++" "" "" "for in game music" &&
+depends SDL
+depends zlib
+depends freetype2
+optional_depends "timidity++" "" "" "for in game music"
optional_depends "libpng" "" "" "for PNG screenshots"
diff --git a/games/openttd/DETAILS b/games/openttd/DETAILS
index 9865633..11aa76d 100644
--- a/games/openttd/DETAILS
+++ b/games/openttd/DETAILS
@@ -1,11 +1,11 @@
MODULE=openttd
- VERSION=0.5.3
+ VERSION=0.6.3
SOURCE=$MODULE-$VERSION-source.tar.bz2
SOURCE_URL=$SFORGE_URL/$MODULE/
- SOURCE_VFY=sha1:ed23b5de67e597b6a96eccca26495369591f1ebc
+ SOURCE_VFY=sha1:5fb359789fae9b03550da268973fb1238ddf224c
WEB_SITE=http://www.openttd.org/
ENTERED=20060322
- UPDATED=20071019
+ UPDATED=20090321
MAINTAINER=ratler at lunar-linux.org
SHORT="A clone of the Microprose game Transport Tycoon Deluxe"
GARBAGE=off
More information about the Lunar-commits
mailing list