* updated ghostty (1.0.1 -> 1.1.0)
[t2sde.git] / package / games / torcs / torcs.conf
blobd4aee87809b47f5101ae47cd534429eba0a19e08
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
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
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
16 autoextract=0
17 runconf=1
19 torcs_preconf() {
20         for x in `match_source_file -p src`; do
21                 echo "Extracting $x ..."
22                 tar $taropt $x
23         done
24         cd torcs-$ver
25         apply_patchfiles
26         # delete lingering x86 object files ...
27         find -name '*.o' | xargs rm -fv
30 torcs_pi() {
31         cd $datadir/games/torcs/
32         for x in `match_source_file -p data`; do
33                 echo "Extracting $x ..."
34                 tar $taropt $x
35         done
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"