aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-01-01 13:19:44 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-01-01 13:19:44 -0500
commita0191700319f061dc8af5ae384634c7aea01c023 (patch)
tree26f4b896cc336743d1ab04c2d849737aee412349 /games
parentb14d78f1a438e83bacd543219e34a75afd175b1b (diff)
games/torcs: Updated for version 1.3.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/torcs/torcs.SlackBuild19
-rw-r--r--games/torcs/torcs.info6
2 files changed, 11 insertions, 14 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild
index 366f79832bca..f2a72f441688 100644
--- a/games/torcs/torcs.SlackBuild
+++ b/games/torcs/torcs.SlackBuild
@@ -1,20 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for torcs
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+
PRGNAM=torcs
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -60,12 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-# Cut away jobs number from the MAKEFLAGS
-MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
-
make -j1
-make install DESTDIR=$PKG
-make datainstall DESTDIR=$PKG
+make -j1 install DESTDIR=$PKG
+make -j1 datainstall DESTDIR=$PKG
# For some reason `make install' creates all the dirs 0777
find $PKG -type d | xargs chmod 0755
@@ -73,7 +70,7 @@ find $PKG -type d | xargs chmod 0755
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Tenemos una pagina de man en espanol...
+# Tenemos una pagina de man en espaƱol...
mkdir -p $PKG/usr/man/man6 $PKG/usr/man/es/man6
mv doc/man/$PRGNAM.es.6 $PKG/usr/man/es/man6
mv doc/man/*.6 $PKG/usr/man/man6
diff --git a/games/torcs/torcs.info b/games/torcs/torcs.info
index 4defcab1a9d5..d335f517fb26 100644
--- a/games/torcs/torcs.info
+++ b/games/torcs/torcs.info
@@ -1,8 +1,8 @@
PRGNAM="torcs"
-VERSION="1.3.1"
+VERSION="1.3.4"
HOMEPAGE="http://torcs.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/torcs/torcs-1.3.1.tar.bz2"
-MD5SUM="f3efd94fb52e9963e176bf441cdab7b3"
+DOWNLOAD="http://downloads.sourceforge.net/torcs/torcs-1.3.4.tar.bz2"
+MD5SUM="07dbc9c53e2b177be1f53fe97d53d039"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="freealut plib"