1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/torcs/torcs.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 bindir=$root/$SDECFG_PKG_GAMES_BINDIR
14 datadir=$root/$SDECFG_PKG_GAMES_DATADIR
20 for x in `match_source_file -p src`; do
21 echo "Extracting $x ..."
26 # delete lingering x86 object files ...
27 find -name '*.o' | xargs rm -fv
31 cd $datadir/games/torcs/
32 for x in `match_source_file -p data`; do
33 echo "Extracting $x ..."
36 chown -R root:root $datadir/games/torcs
39 hook_add preconf 3 torcs_preconf
40 hook_add postinstall 5 torcs_pi
42 var_append CC_WRAPPER_REMOVE " " "-mieee-fp"
43 var_append CXX_WRAPPER_REMOVE " " "-mieee-fp"