sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master games grimoire by Florian Franzmann (feada18db60ea42171bb8020bd5ffed03dfda25c)
- From: Florian Franzmann <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master games grimoire by Florian Franzmann (feada18db60ea42171bb8020bd5ffed03dfda25c)
- Date: Sat, 24 Apr 2010 17:07:46 -0500
GIT changes to master games grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:
games-simulation/torcs/BUILD | 4 +++-
games-simulation/torcs/CONFIGURE | 1 +
games-simulation/torcs/DETAILS | 2 ++
games-simulation/torcs/HISTORY | 2 ++
games-simulation/torcs/PRE_BUILD | 9 ++++++---
5 files changed, 14 insertions(+), 4 deletions(-)
New commits:
commit feada18db60ea42171bb8020bd5ffed03dfda25c
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
games-simulation/torcs: made additional cars optional
commit cabfec2af0b1a8a3f321ce06dc130d3877cba23b
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
games-simulation/torcs: use make_single in build
diff --git a/games-simulation/torcs/BUILD b/games-simulation/torcs/BUILD
index 3e0f0e5..48fc041 100755
--- a/games-simulation/torcs/BUILD
+++ b/games-simulation/torcs/BUILD
@@ -2,4 +2,6 @@ if check_if_xorg_modular_libs ; then
OPTS="$OPTS --x-libraries=${TRACK_ROOT}/usr/lib"
fi &&
-default_games_build
+make_single &&
+default_games_build &&
+make_normal
diff --git a/games-simulation/torcs/CONFIGURE
b/games-simulation/torcs/CONFIGURE
new file mode 100755
index 0000000..62b65c6
--- /dev/null
+++ b/games-simulation/torcs/CONFIGURE
@@ -0,0 +1 @@
+config_query TORCS_BERNIW_CARS "install additional cars?" n
diff --git a/games-simulation/torcs/DETAILS b/games-simulation/torcs/DETAILS
index dc2586c..c49af4d 100755
--- a/games-simulation/torcs/DETAILS
+++ b/games-simulation/torcs/DETAILS
@@ -3,9 +3,11 @@
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-${VERSION/-test1/}
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+if [[ "$TORCS_BERNIW_CARS" == "y" ]]; then
SOURCE2=kc.tar.bz2
SOURCE2_URL[0]=http://www.berniw.org/trb/download/${SOURCE2}
SOURCE2_HASH=sha512:a57cfcc9fa824690057d1e0a08ef68adb197de078418cf42f0a35b5ecae7173c4dfee150ae7d6342c1f8db3c56ec104647e3b95cebf727f6939455155fc266c8
+fi
WEB_SITE=http://torcs.sourceforge.net/
#SOURCE_GPG="gurus.gpg:$SOURCE.sig"
SOURCE_HASH=sha512:a4192698ac16e0cabb53c11ead9b5098dcfb4e40febb5313946019d2f1ccc7b9647e450691d26fe32f8eced6d307f393b4d73a06dab2398871b079f7f6c0972b
diff --git a/games-simulation/torcs/HISTORY b/games-simulation/torcs/HISTORY
index 9e02c5a..fca87da 100644
--- a/games-simulation/torcs/HISTORY
+++ b/games-simulation/torcs/HISTORY
@@ -1,6 +1,8 @@
2010-04-24 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: openal -> OPENAL
* PRE_BUILD, DETAILS: added more cars
+ * BUILD: make_single
+ * CONFIGURE, PRE_BUILD, DETAILS: made additional cars optional
2009-01-09 Julien "_kaze_" ROZO <julien AT rozo.org>
* DETAILS: updated version to 1.3.1
diff --git a/games-simulation/torcs/PRE_BUILD
b/games-simulation/torcs/PRE_BUILD
index 78b86ca..5395ee5 100755
--- a/games-simulation/torcs/PRE_BUILD
+++ b/games-simulation/torcs/PRE_BUILD
@@ -1,4 +1,7 @@
default_pre_build &&
-cd ${SOURCE_DIRECTORY} &&
-unpack_file 2 &&
-mv kc/* data/cars/models
+if [[ "$TORCS_BERNIW_CARS" == "y" ]]; then
+ message "${MESSAGE_COLOR}adding more cars${DEFAULT_COLOR}" &&
+ cd ${SOURCE_DIRECTORY} &&
+ unpack_file 2 &&
+ mv kc/* data/cars/models || return 1
+fi
- [SM-Commit] GIT changes to master games grimoire by Florian Franzmann (feada18db60ea42171bb8020bd5ffed03dfda25c), Florian Franzmann, 04/24/2010
Archive powered by MHonArc 2.6.24.