diff options
-rw-r--r-- | games/torcs/torcs.SlackBuild | 19 | ||||
-rw-r--r-- | games/torcs/torcs.info | 6 |
2 files changed, 11 insertions, 14 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild index 366f79832bca8..f2a72f4416880 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 4defcab1a9d58..d335f517fb263 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" |