Difference between revisions of "TORCS"

From CBLFS
Jump to navigationJump to search
 
Line 21: Line 21:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 35: Line 36:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 48: Line 50:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 61: Line 64:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \

Revision as of 09:23, 4 November 2006

Download Source: http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src.tgz

Dependencies

Required

Recommended

Non-Multilib

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any external libraries so only one installation is needed

32Bit

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install